build with py3.7

This commit is contained in:
j 2018-12-15 01:08:49 +01:00
parent 6de68e6a78
commit 11af4540c5

View file

@ -6,14 +6,14 @@ mkdir old
test -e lib && mv lib old/ test -e lib && mv lib old/
test -e bin && mv bin old/ test -e bin && mv bin old/
rm -rf p34 rm -rf p37
virtualenv -p /usr/bin/python3.4 p34 python3.7 -m venv p37
p34/bin/pip3 install -r ../../openmedialibrary/requirements-shared.txt p37/bin/pip3 install -r ../../openmedialibrary/requirements-shared.txt
mkdir -p lib/python3.4 mkdir -p lib/python3.4
mv p34/lib/python3.4/site-packages lib/python3.4/site-packages mv p37/lib/python3.7/site-packages lib/python3.4/site-packages
patch -p2 -R < large_pdf.patch patch -p2 -R < large_pdf.patch
rm -r p34 old rm -r p37 old
rm -r lib/python3.4/site-packages/netifaces* rm -rf lib/python3.4/site-packages/netifaces*