Re:Packaging Python software with pbr
by joshuamorton on Wednesday September 13, 2017 @12:44PM
(#15240021)
Why are you using a requirements.txt if you have a setup.py that lists them? `pip install -e` or `setup.py install` should just work in that case.
[ Parent
| on HN ]
You don't always want to install the actual package necessarily (e.g. dev) - using requirements separately lets you install the deps but not the package...
Re:Packaging Python software with pbr
by rajathagasthya on Wednesday September 13, 2017 @02:34PM
(#15241215)
What if you have your own package index? You can use `--index-url` in requirements.txt to specify that.
Re:Packaging Python software with pbr
by joshuamorton on Wednesday September 13, 2017 @03:10PM
(#15241566)
You can use `--index-url` when calling pip: https://pip.pypa.io/en/stable/reference/pip_wheel/#index-url
You can also use `dependency_links` in your setup.py to specify this, which allows deps on github etc.