4 ms·
The approach I've been using Define my dependencies - setup.py - requirements_dev.in run piptools pip-compile to generate a locked set of dependencies - re
by epage 9y ago
The approach I've been using
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).
- joshuamorton 9y agoI'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.