Skip to content

Allow to set METADATA_URL in an environment variable #144

@arnauddeblic

Description

@arnauddeblic

Hello,
I need to install poetry on a server that is not connected to internet.
When executing the installation script previsously copied on the server, I encounter a problem when the script attempts to retrieve metadata. This seems to be due to this line in the script : METADATA_URL = "https://pypi.org/pypi/poetry/json".
Would it be possible to allow to set this parameter via an environment variable, e.g. POETRY_METADATA_URL ?
In advance, many thanks
Kind regards
Arnaud

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions