Commit b7e4df96 authored by Noah Zoschke's avatar Noah Zoschke

make virtualenv relocatable

parent 5637e288
......@@ -61,9 +61,11 @@ EOF
fi
echo "-----> Installing dependencies using pip version $(bin/pip --version | awk '{print $2}')"
PIP_DOWNLOAD_CACHE=$PIP_DOWNLOAD_CACHE bin/pip install -r requirements.txt | sed -u 's/^/ /'
echo "-----> Making virtualenv relocatable"
virtualenv --relocatable . | sed -u 's/^/ /'
if [ "$NAME" = "Python/Django" ]; then
bin/pip freeze | grep psycopg2 > /dev/null || { echo " ! Missing psycopg2 dependency in requirements.txt"; exit 1; }
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment