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

How should Extra-index-url be treated in Pipfile? #68

Closed
arruda opened this issue Feb 11, 2017 · 2 comments
Closed

How should Extra-index-url be treated in Pipfile? #68

arruda opened this issue Feb 11, 2017 · 2 comments

Comments

@arruda
Copy link

arruda commented Feb 11, 2017

Will it be just another entry in [[source]] with a boolean extra=True?
Or pipfile will consider extra-index-url to be just like any other source? if so, anything that uses Pipfile will have to do some try/excepts to see if the current package is present in each of the listed sources (because some of them can be a extra, and contain just some specific listed packages)

@dstufft
Copy link
Member

dstufft commented Feb 11, 2017

pip doesn't treat --extra-index-url differently from --index-url, the only difference is --index-url overwrites the default and --extra-index-url adds an additional one, but beyond that they are exactly the same. So Pipfile will treat it just like any other source.

@dstufft dstufft closed this as completed Feb 11, 2017
@arruda
Copy link
Author

arruda commented Feb 11, 2017

Thank @dstufft I was thinking in a solution to a problem in pipenv, but was unsure if this was going to be the correct behavior used in Pipfile. Thanks for the fast response 👍 🎉

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