Pip discovery
I just discovered this awesome command:
pip freeze > requirements.txt
Yes, that’s right. pip freeze dumps out all the packages you have installed (with their version!!). So if you have a virtualenv perfectly set up and you want to make a requirements file for your projects, just run that and you’re done. No more forgotten pip packages, no more mismatched versions on new deployments.
Nice!
Anton
Share
Tags
Similar Articles
20 Years of Designing Under the Mango Tree
On Dimagi's 20th Anniversary, this blog reflects on the foundation of Designing Under the Mango Tree, our user-centric approach of building solutions based on users' contextual needs, and includes conversations with some of the first users of CommCare.
Staff Blog
December 20, 2022