From 9bb1a3c5c55af00f27ea986bcdfc676ce9a6bdd5 Mon Sep 17 00:00:00 2001 From: Jesse Andrews Date: Mon, 14 Nov 2011 10:05:56 -0800 Subject: [PATCH] allow pip to use mirrors (pypi is down) --- stack.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stack.sh b/stack.sh index 967dd7c..4c378ff 100755 --- a/stack.sh +++ b/stack.sh @@ -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