4 ms·
I would argue that the information in "requirements-to-freeze.txt" could simply be expressed in the "install_requires" list in setup.py. That is, the "general"
by goerz 11y ago
I would argue that the information in "requirements-to-freeze.txt" could simply be expressed in the "install_requires" list in setup.py. That is, the "general" dependencies (with only vague version information) should be in setup.py, whereas requirements.txt should pin the exact "guaranteed to work" versions. For small/non-commerical projects, requirements.txt may not even be necessary.
- mixmastamyk 11y agoSo, you use `python setup.py` instead of pip?
- goerz 11y agoNo...? AFAIK (and based on my daily experience), pip processes setup.py, so it definitely installs the dependencies listed there.
- mixmastamyk 11y agoOk, so you just skip the requirements file.