Browse code

allow pip to use mirrors (pypi is down)

Jesse Andrews authored on 2011/11/15 03:05:56
Showing 1 changed files
... ...
@@ -371,7 +371,7 @@ apt_get update
371 371
 apt_get install `cat $FILES/apts/* | cut -d\# -f1 | grep -Ev "mysql-server|rabbitmq-server|memcached"`
372 372
 
373 373
 # install python requirements
374
-sudo PIP_DOWNLOAD_CACHE=/var/cache/pip pip install `cat $FILES/pips/*`
374
+sudo PIP_DOWNLOAD_CACHE=/var/cache/pip pip install --use-mirrors `cat $FILES/pips/*`
375 375
 
376 376
 # git clone only if directory doesn't exist already.  Since ``DEST`` might not
377 377
 # be owned by the installation user, we create the directory and change the