From a00b4900cd7d090429a908b528048dd3bcca5f8b Mon Sep 17 00:00:00 2001 From: Kenneth Reitz <me@kennethreitz.com> Date: Wed, 18 Jan 2012 12:05:57 -0500 Subject: [PATCH] comments --- bin/compile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/bin/compile b/bin/compile index 3e9772d0..11464bd6 100755 --- a/bin/compile +++ b/bin/compile @@ -133,17 +133,22 @@ except Exception: EOF fi + echo "-----> Activating virtualenv" source bin/activate +# Install mercurial, if needed. if (grep -Fiq "hg+" requirements.txt) then pip install --use-mirrors mercurial | indent fi +# Install dependencies. echo "-----> Installing dependencies using pip version $(bin/pip --version | awk '{print $2}')" pip install --use-mirrors -r requirements.txt | indent + +# Make virtualenv relocatable. set +e OUT=$(virtualenv --relocatable .) [ $? -ne 0 ] && { @@ -153,7 +158,7 @@ OUT=$(virtualenv --relocatable .) } set -e -# store new artifacts in cache +# Store new artifacts in cache. for dir in $VIRTUALENV_DIRS; do rm -rf $CACHE_DIR/$dir cp -R $dir $CACHE_DIR/ -- GitLab