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*