From 11af4540c53d847e505493da072b4f9a724cc447 Mon Sep 17 00:00:00 2001 From: j Date: Sat, 15 Dec 2018 01:08:49 +0100 Subject: [PATCH] build with py3.7 --- Shared/update.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Shared/update.sh b/Shared/update.sh index ca13166..26eea6e 100755 --- a/Shared/update.sh +++ b/Shared/update.sh @@ -6,14 +6,14 @@ mkdir old test -e lib && mv lib old/ test -e bin && mv bin old/ -rm -rf p34 +rm -rf p37 -virtualenv -p /usr/bin/python3.4 p34 -p34/bin/pip3 install -r ../../openmedialibrary/requirements-shared.txt +python3.7 -m venv p37 +p37/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 +mv p37/lib/python3.7/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* +rm -r p37 old +rm -rf lib/python3.4/site-packages/netifaces*