2 ms·
Do Not Use Requirements.txt
- gjvc 3y agoThis is just nonsense. Use 'pip freeze' to capture the versions of all installed packages into a file next to your requirement.txt file. Each time you run 'pip install -r ...' use the newer of the output of 'pip freeze' and the base requirement.txt file. And put the above logic in a simple helper script so it does the right thing every time. Don't type these commands manually every time.