2013-10-11 17:28:32 +00:00
|
|
|
HOME=`pwd`/home
|
|
|
|
mkdir $HOME
|
|
|
|
export PIP_DOWNLOAD_CACHE=$HOME/../../../pip_cache
|
2014-09-05 15:40:15 +00:00
|
|
|
cat ../../openmedialibrary/requirements.txt | grep -v lxml > requirements.txt
|
|
|
|
pip install -r requirements.txt -I --user
|
2013-10-11 17:28:32 +00:00
|
|
|
mkdir old
|
|
|
|
mv lib bin old
|
|
|
|
mv home/.local/lib lib
|
|
|
|
mv home/.local/bin bin
|
2014-09-05 15:40:15 +00:00
|
|
|
rm -r home old requirements.txt
|
2013-10-11 17:28:32 +00:00
|
|
|
|
|
|
|
#sed -i "s#bin/python#bin/env python#" bin/gunicorn
|