Support --(extra-)index-url when importing from requirements.txt
See original GitHub issueWhile there a multiple related closed issues, I’m unclear about what the last stance on supporting --(extra-)index-url
when importing from requirements.txt is. IMO, it’s am important migration scenario to support these to help adoption of pipenv
. Also, it should be pretty much straight forward to add. If -i
or --index-url
is present in requirements.txt
, the default [[source]]
URL of https://pypi.python.org/simple
in Pipfile
should be replaced with whatever is given as the index URL. If one or more --extra-index-url
are present, there should be additional [[source]]
URLs pointing at the given locations.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:10 (6 by maintainers)
Top Results From Across the Web
extra-index-url in requirements.txt · Issue #8103 · pypa/pip
I suspect that the PipSession being built is only being populated with the index URLs from the command line, not the ones from...
Read more >ubuntu - --extra-index-url not work in python requirements.txt
I try to download this package: echo --extra-index-url https://google-coral.
Read more >Installing private Python packages
We use --extra-index-url to allow pip to keep the original Index URL. This allows pip to implicitly install public packages that your private...
Read more >Specifying dependencies in Python | Cloud Functions ...
Dependencies in Python are managed with pip and expressed in a metadata file ... --extra-index-url ... Import from this module to use your...
Read more >Python developer reference for Azure Functions
Both Python Functions programming models support local ... tells the remote build to run pip install by using the --extra-index-url option.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It would be nice to have
--extra-index-url
or--index-url
parsed and added to the source automatically.https://github.com/kennethreitz/pipenv/issues/634