|
|
|
|
|
by hoov
3205 days ago
|
|
I'm not a fan of this. First of all, requirements.txt is for development requirements. Runtime ones belong in setup.py. Also, the "extras" feature is already in setup.py via extras_require. I see no need to use this nonstandard tool when the standard tooling works. |
|
requirements/
Then in setup.py just read these requirements.txt. I just find this easier to manage all the dependencies from a single point. During development and testing code, you'd assume base.txt is what is going to production. It takes some care to commit this file, nonetheless.I could keep a freeze version if I really want to have a full view (for debugging purpose).