-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow to set METADATA_URL in an environment variable #144
Comments
and what is the rest of your plan? how do you expect to download poetry? |
Many thanks @dimbleby for your very quick answer |
if you have a usable repository you probably are better off just using one of the other installation methods eg pipx, or manually create a venv and pip install poetry directly |
I tryed both alternative methods, and my feeling was :
In addition, if i configure my nexus proxy so that it can serve the installation script beyond the firewall, I no longer need to previsously copy the the installation script on the server. I felt that using the official installer would be more straigtforward, I guess such a command would do the job :
|
I doubt nexus even offers the json API |
Within "Sonatype Nexus Repository Manager", i can set any URL as a proxy, not necessarily a repository URL |
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
The text was updated successfully, but these errors were encountered: