Re:Packaging Python software with pbr
by joshuamorton on Wednesday September 13, 2017 @10:25PM
(#15244568)
I'd suggest pipenv for this kind of thing. It will generate a pipfile.lock, which is the (still in development, but pretty stable) official way to create a locked set of deps.
Define my dependencies
- setup.py
- requirements_dev.in
run piptools pip-compile to generate a locked set of dependencies
- requirements.txt
- requirements_dev.txt
It gives me some of the benefit of Rust's Cargo.toml / Cargo.lock in the python world (and actually respects all package's dependency version declarations unlike other tools like pyup).