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
BAO Systems and Dimagi Announce Integration Partnership
Learn more about the new partnership between Dimagi and Bar Systems. This collaboration will support communities connecting CommCare and DHIS2 to harness technology and data for greater impact, as they improve data processes from data collection to integration to analysis and use.
Staff Blog
May 29, 2023
A Day in the Life Of - Wouter Vink, Director of Solutions Delivery, Solutions Division
The Q&A provides insights into the Solutions Delivery team at Dimagi, including A Day in the Life of Wouter Vink, Director of Solutions Delivery, Solutions Division, their consulting role, unique challenges, remote collaboration, career advice, and excitement for the future.
Staff Blog
May 26, 2023