-
Notifications
You must be signed in to change notification settings - Fork 13
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
How can I use pypi-mirror behind a proxy? #13
Comments
Hi @tt2000, For the moment there is no way to specify a proxy using a command line switch but I will add one since it's something pretty common to be behind a corporate proxy. For the moment, your best shot is to try to specify the proxy using an environment variable (HTTP_PROXY and/or HTTPS_PROXY) |
I've added a |
How can I test it? Just cloning your master branch and running e. g.
Should it not just download the dependencies instead of installing them? |
python .\pypi_mirror.py download -d test_download --proxy http://proxy.url:1234 -b numpy |
Just noting that using the -b flag also allowed mirroring of the osmnx module, which has a complicated install process with pip (considered experimental) and conda installation is generally recommended. Flagging binary also significantly speeds up the process by bypassing local building. |
@montag451 Testing was successful, I can confirm that the new |
@tt2000 Perfect, I will publish a new version of the package on PyPI. Thx for the bug report and the testing! I will close this issue as soon as the new version is published. |
I've published a new version on PyPI so I will close this issue. Thx again for the bug report and the testing! |
If I use
pip
to download a package, I add--proxy http://proxy.url:port
. Is there a similar option forpypi-mirror
?The text was updated successfully, but these errors were encountered: