19 lines
446 B
Bash
Executable file
19 lines
446 B
Bash
Executable file
#!/bin/bash
|
|
set -e
|
|
cd `dirname $0`
|
|
export PIP_DOWNLOAD_CACHE=`pwd`/../../pip_cache
|
|
mkdir old
|
|
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
|
|
rm -r lib/python3.4/site-packages/netifaces*
|