John Gagliardi

Python, ColdFusion, Flex, jQuery, and any other web technologies. Some Real Estate and Cooking sprinkled in also :)
Tweet to @johnnygag Follow @johnnygag

Python/Django - Keep your pip install requirements up to date with Fabric

Keeping your pip installs in order on development and production can be a pain. A way to handle it is by using a .txt file with a list of required pip installs and version number. Here is an example .txt file.

Then using the magic of fabric for deployment you simple have to call your normal deploy function and make sure to have the newly created update_requirements function being called.

comments powered by Disqus