update update.sh

This commit is contained in:
j 2014-09-05 17:40:15 +02:00
parent f187000dc9
commit 5c330dce87
2 changed files with 4 additions and 2 deletions

View file

@ -1,11 +1,12 @@
HOME=`pwd`/home
mkdir $HOME
export PIP_DOWNLOAD_CACHE=$HOME/../../../pip_cache
pip install -r ../../openmedialibrary/requirements.txt -I --user
cat ../../openmedialibrary/requirements.txt | grep -v lxml > requirements.txt
pip install -r requirements.txt -I --user
mkdir old
mv lib bin old
mv home/.local/lib lib
mv home/.local/bin bin
rm -r home old
rm -r home old requirements.txt
#sed -i "s#bin/python#bin/env python#" bin/gunicorn

View file

@ -6,4 +6,5 @@ mkdir old
mv lib bin old
mv home/.local/lib lib
mv home/.local/bin bin
rm ./lib/python2.7/site-packages/tornado/speedups.so
rm -r home old