2 ms·
Not "a" requirements.txt file, sadly. I've seen packages with different requirements for building, installing, and testing. All with their own damned txt file
by klyrs 6y ago
Not "a" requirements.txt file, sadly. I've seen packages with different requirements for building, installing, and testing. All with their own damned txt file. Oh! And don't forget the duplication in setup.py -- you'll want to put your requirements there, too.
- 1f60c 6y agoAs far as I know, Pip doesn't have the notion of dev dependencies, so you need at least two requirements[.dev].txt files.
- dragonwriter 6y ago> As far as I know, Python doesn't have the notion of dev dependencies Python doesn't have the notion of dependencies. Pip doesn't have dev dependencies, poetry does.
- 1f60c 6y agoD’oh! Thanks. :)
- pas 6y agoThat's (the deps, not the dev deps) likely to change with pip 20.3! All hail the dependency resolver. It's already available behind a feature flag. https://pythoninsider.blogspot.com/2020/07/upgrade-pip-20-2-changes-20-3.html https://pythoninsider.blogspot.com/2020/07/upgrade-pip-20-2-...
- deleted 6y ago[deleted]