diff --git a/build_virtualenv.sh b/build_virtualenv.sh index 8b6034a..a454831 100755 --- a/build_virtualenv.sh +++ b/build_virtualenv.sh @@ -1,7 +1,8 @@ #!/bin/bash if grep -q proxy /etc/hosts; then - PIPOPT="--proxy=proxy:3128" + export http_proxy=http://proxy:3128 + export https_proxy=http://proxy:3128 fi echo "initialisation virtualenv dans /home/logement/virtualenv" @@ -15,9 +16,8 @@ fi echo "creation/mise a jour /home/logement/virtualenv" cd virtualenv . bin/activate -pip install $PIPOPT --upgrade pip -pip install $PIPOPT --upgrade versiontools # contournement d'un probleme dans django-compressor -pip install $PIPOPT --upgrade -r /home/logement/src/requirements +pip install -U pip +pip install -r /home/logement/src/requirements # bug dans piston 0.2.3rc1 touch /home/logement/virtualenv/lib/python2.6/site-packages/piston/__init__.py