Add --extra-index-url option to pyproject.toml to install requirements.txt #13000
Closed
1 task done
Labels
resolution: duplicate
Duplicate of an existing issue/PR
resolution: needs standard
Should be agreed as a standard before implementation
type: feature request
Request for a new feature
What's the problem this feature will solve?
My
requirements.txt
file:I am trying to switch to
pyproject.toml
as suggested so that I don't have to usesetup.py
,setup.cfg
andpip.conf
. But at the same time I still want to use the simlicity of pip freeze torequirements.txt
file so I don't have to add dependencies by hand inpyproject.toml
and I will not have to use poetry like package.Running it with:
pip install -e .
Describe the solution you'd like
dependencies = {file = ["requirements.txt"]}
works if I didn't havetorch+cpu
but now it doesn't work.I would like the solution to be one of these or something that I will not use other files like pip.conf
Alternative Solutions
I know creating pip.conf and moving the filled file inside the virtual environment works but it would be better without needing this.
Additional context
No
Code of Conduct
The text was updated successfully, but these errors were encountered: