-
Notifications
You must be signed in to change notification settings - Fork 15
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
Respect pip config #24
Comments
Got it! How about this priorities:pip's config which have been configured > the time zone > pypi.org?I also think the way using the time zone to pick the pypi index should be optimized or be removed. Do you have some idea? |
Thans for the quick answer 🙂 For the priority, I'd say:
I personally never needed another public mirror than pypi.org, so I can't say if the time-zone-based approach is good or not, I'll let you decide! For reference, here's my pip config file: [global]
trusted-host = our-private-index.domain.com
index-url = https://username:[email protected]/index/simple/
cert = /home/user/certs/ca-bundle.crt Not sure what internals you are using, and therefore if you could just read Let me know if I can be of any help 🙂 (I could send a PR of course but I'm not sure when I'll have the time to do so!) |
This is probably blocked on di/pip-api#44. |
In the end I'll close this because it's very easy to set up an alias with the right index. Feel free to reopen if you think it is still an interesting feature! |
Following #5, I'm working in a corporate environment and we use a private pypi mirror. Would it be possible for pip-download to respect pip's config so I don't have to manually specify the index-url on the command line?
Or maybe I can configure this in pip-download JSON configuration file?
Also, thank you very much for this tool, it is highly convenient!!
The text was updated successfully, but these errors were encountered: