From 1bbd9e01dfb086e44ea54aae819bf335a1c48953 Mon Sep 17 00:00:00 2001 From: Anthony Young Date: Mon, 12 Sep 2011 23:59:19 -0700 Subject: [PATCH] use pip cache directory --- stack.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stack.sh b/stack.sh index 730dc5c..f537f9e 100755 --- a/stack.sh +++ b/stack.sh @@ -54,7 +54,7 @@ MYSQL_PRESEED sudo apt-get install -y -q `cat $DIR/apts/* | cut -d\# -f1` # install python requirements -sudo pip install `cat $DIR/pips/*` +sudo PIP_DOWNLOAD_CACHE=/var/cache/pip pip install `cat $DIR/pips/*` # git clone only if directory doesn't exist already function git_clone {