Skip to content
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 for additional PyPI index-urls #25

Closed
davegallant opened this issue Nov 25, 2019 · 2 comments
Closed

Allow for additional PyPI index-urls #25

davegallant opened this issue Nov 25, 2019 · 2 comments

Comments

@davegallant
Copy link
Contributor

Is there an option to fetch from a custom PyPI or specify multiple index-urls?

For example

pur --index-url https://pypi.internal/simple -r requirements.txt
@alanhamlett
Copy link
Owner

No, but let's add --index-url as an array argument to support this. Should be as simple as passing the list of index urls to pip here:

session=session, find_links=[], index_urls=[PyPI.simple_url])

@alanhamlett
Copy link
Owner

alanhamlett commented Dec 20, 2019

Also note that --index-url is supported in requirements.txt files:

tests/samples/requirements-with-alt-index-url.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants