Hacker News new | ask | show | jobs
by BiteCode_dev 1480 days ago
For 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.
1 comments

I'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`?