Re:A Better Pip Workflow
by neuroid on Wednesday March 02, 2016 @12:01PM
(#11211182)
This. Using setup.py for specifying min versions (and occasionally max versions) is definitely the way to go.
However, manually maintaining a requirements file in addition to setup.py is quite tedious in the long run. It is much better to freeze requirements during the build process and use the generated requirements file for deployments. But, decent test coverage is key here.
However, manually maintaining a requirements file in addition to setup.py is quite tedious in the long run. It is much better to freeze requirements during the build process and use the generated requirements file for deployments. But, decent test coverage is key here.