allow pip to use mirrors (pypi is down)

This commit is contained in:
Jesse Andrews 2011-11-14 10:05:56 -08:00
parent a7c37b0a96
commit 9bb1a3c5c5

View file

@ -371,7 +371,7 @@ apt_get update
apt_get install `cat $FILES/apts/* | cut -d\# -f1 | grep -Ev "mysql-server|rabbitmq-server|memcached"`
# install python requirements
sudo PIP_DOWNLOAD_CACHE=/var/cache/pip pip install `cat $FILES/pips/*`
sudo PIP_DOWNLOAD_CACHE=/var/cache/pip pip install --use-mirrors `cat $FILES/pips/*`
# git clone only if directory doesn't exist already. Since ``DEST`` might not
# be owned by the installation user, we create the directory and change the