This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
2012-04-13 15:34:57 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
2012-04-18 15:13:09 +02:00
|
|
|
if grep -q proxy /etc/hosts; then
|
2013-06-07 12:02:48 +02:00
|
|
|
export http_proxy=http://proxy:3128
|
|
|
|
export https_proxy=http://proxy:3128
|
2012-04-18 15:13:09 +02:00
|
|
|
fi
|
2012-04-13 15:34:57 +02:00
|
|
|
|
|
|
|
echo "initialisation virtualenv dans /home/logement/virtualenv"
|
|
|
|
|
|
|
|
cd /home/logement
|
2012-04-17 11:27:25 +02:00
|
|
|
HOME=/home/logement
|
2012-04-13 15:34:57 +02:00
|
|
|
if [ ! -d virtualenv ]; then
|
|
|
|
virtualenv-2.6 virtualenv
|
|
|
|
fi
|
|
|
|
|
|
|
|
echo "creation/mise a jour /home/logement/virtualenv"
|
|
|
|
cd virtualenv
|
|
|
|
. bin/activate
|
2013-06-07 12:02:48 +02:00
|
|
|
pip install -U pip
|
|
|
|
pip install -r /home/logement/src/requirements
|
2012-04-13 15:34:57 +02:00
|
|
|
|
2012-04-13 16:29:21 +02:00
|
|
|
# bug dans piston 0.2.3rc1
|
|
|
|
touch /home/logement/virtualenv/lib/python2.6/site-packages/piston/__init__.py
|
|
|
|
|