-
-
Save shauryashaurya/3b97c9f11a50e9c2563585c8ff3a832e to your computer and use it in GitHub Desktop.
Revisions
-
joshkehn created this gist
Apr 29, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ from fabric.api import local import pip def freeze (): local("pip freeze > requirements.txt") local("git add requirements.txt") local("git commit -v") def upgrade (): for dist in pip.get_installed_distributions(): local("pip install --upgrade {0}".format(dist.project_name))