I have a python project for which I want to create:
- requirements.txt -> with the modules needed for running the code but not the tests.
- requirements_dev.txt -> with just the extra modules needed for the tests.
I will reuse those in the install_requires and extras_require fields of the setup.py.
If I do a pip freeze > requirements.txt, the whole thing goes into that file. How can I separate between test vs no test?