2016-02-23 06:06:40 +00:00
|
|
|
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
cd `dirname $0`
|
|
|
|
export PIP_DOWNLOAD_CACHE=`pwd`/../../pip_cache
|
2013-10-11 17:28:32 +00:00
|
|
|
mkdir old
|
2016-02-23 06:06:40 +00:00
|
|
|
test -e lib && mv lib old/
|
|
|
|
test -e bin && mv bin old/
|
|
|
|
|
|
|
|
rm -rf p34
|
|
|
|
|
|
|
|
virtualenv -p /usr/bin/python3.4 p34
|
|
|
|
p34/bin/pip3 install -r ../../openmedialibrary/requirements-shared.txt
|
|
|
|
|
|
|
|
mkdir -p lib/python3.4
|
|
|
|
mv p34/lib/python3.4/site-packages lib/python3.4/site-packages
|
|
|
|
patch -p2 -R < large_pdf.patch
|
|
|
|
|
|
|
|
rm -r p34 old
|
2016-03-14 13:40:08 +00:00
|
|
|
rm -r lib/python3.4/site-packages/netifaces*
|