1. Peter Sanchez
  2. fabric-deploy-django

Commits

Peter Sanchez  committed acfd763

Added download cache for pip install.

  • Participants
  • Parent commits 421dfc1
  • Branches default

Comments (0)

Files changed (1)

File fabfile.py

View file
  • Ignore whitespace
 
     with cd('%(path)s/releases/%(release)s' % env):
         cmd = './bin/pip install -E . '
-        cmd += '-r ./%(project_name)s/requirements.txt' % env
+        cmd += '-r ./%(project_name)s/requirements.txt ' % env
+        cmd += '--download-cache=~/.pipcache'
         _run(cmd)