openmedialibrary_platform/Shared/update.sh
2014-09-05 17:40:15 +02:00

10 lines
335 B
Bash
Executable file

HOME=`pwd`/home
mkdir $HOME
export PIP_DOWNLOAD_CACHE=$HOME/../../pip_cache
pip install -r ../../openmedialibrary/requirements-shared.txt -I --user --allow-external pyPdf --allow-unverified pyPdf
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