I am maintaining a requirements.txt
file for my Python project, including version numbers and hashes for each package. (This is so I can install with pip install --no-deps --require-hashes
.)
Some packages in the list are my actual requirements (for example, Sphinx
) while others are just dependencies of those requirements (for example, everything else you get when you pip install Sphinx
).
I want to maintain this list of requirements separately from those dependencies. How can I do this?