Commit 370f6cd3 authored by Craig Kerstiens's avatar Craig Kerstiens

changing to use flag instead of writing file for using mirrors

parent 6aef4dc4
...@@ -31,14 +31,7 @@ for dir in $VIRTUALENV_DIRS; do ...@@ -31,14 +31,7 @@ for dir in $VIRTUALENV_DIRS; do
done done
echo "-----> Preparing virtualenv version $(virtualenv --version)" echo "-----> Preparing virtualenv version $(virtualenv --version)"
virtualenv --no-site-packages . | sed -u 's/^/ /' virtualenv --no-site-packages PIP_USE_MIRRORS=true . | sed -u 's/^/ /'
mkdir .pip
cat >>.pip/pip.conf <<EOF
[install]
use-mirrors = true
EOF
#echo "-----> Byte-compiling code" #echo "-----> Byte-compiling code"
find . -name "*.py" | grep -v bin/manage.py | xargs bin/python -m py_compile find . -name "*.py" | grep -v bin/manage.py | xargs bin/python -m py_compile
......
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