4 ms·
pip-compile [0] is the best tool I've found for streamlining dependency resolution, but it may not provide any benefit for one-shot installs. [0] https://githu
by edpenz 4y ago
pip-compile [0] is the best tool I've found for streamlining dependency resolution, but it may not provide any benefit for one-shot installs.
[0] https://github.com/jazzband/pip-tools https://github.com/jazzband/pip-tools
- BiteCode_dev 4y agoFor those who are wondering what is the benefit over pip freeze: pip freeze dumps you entire venv, while pip compile gets project dependancies, and infer the requirements file from that.
- n8henrie 4y agoI'm not sure I get it -- if you had your core dependencies in setup.py / setup.cfg / pyproject.toml (for development) and then pip freeze (for creating a highly reproduced venv for applications), would that be similar? Why would one want to infer the requirements file? Would that be like `pip list --not-required --format-freeze`?