From 11abff708fd4d210b4f17adf5fd8006104f9d870 Mon Sep 17 00:00:00 2001 From: Sandip Pandey Date: Mon, 26 Aug 2019 11:02:07 +0200 Subject: [PATCH 1/2] Added wheel as pip dependency --- debian/tribler.postinst | 2 ++ debian/tribler.prerm | 2 ++ 2 files changed, 4 insertions(+) diff --git a/debian/tribler.postinst b/debian/tribler.postinst index 966f983f2ad..ebf4de25b17 100644 --- a/debian/tribler.postinst +++ b/debian/tribler.postinst @@ -1,4 +1,6 @@ if which pip >/dev/null 2>&1; then + # 2019-08-26 wheel is necessary for other pip installs + pip install --user wheel # Install pony orm with pip since it is not available in Debian repository pip install --user pony>=0.7.9 # 2019-02-13; Add lz4 compression ; Remove this once this library is updated in Debian repo diff --git a/debian/tribler.prerm b/debian/tribler.prerm index b69bea38d4d..d7094ce14cc 100644 --- a/debian/tribler.prerm +++ b/debian/tribler.prerm @@ -3,4 +3,6 @@ if which pip >/dev/null 2>&1; then pip uninstall -y pony # Remove lz4 from pip pip uninstall -y lz4 + # Remove wheel the last + pip uninstall -y wheel fi \ No newline at end of file From f20dd16dbec7246c29354a107862c80e651c528a Mon Sep 17 00:00:00 2001 From: Sandip Pandey Date: Tue, 27 Aug 2019 11:42:18 +0200 Subject: [PATCH 2/2] Removed pip packages as user dependencies --- debian/tribler.postinst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/tribler.postinst b/debian/tribler.postinst index ebf4de25b17..a7b7bb5c793 100644 --- a/debian/tribler.postinst +++ b/debian/tribler.postinst @@ -1,8 +1,8 @@ if which pip >/dev/null 2>&1; then # 2019-08-26 wheel is necessary for other pip installs - pip install --user wheel + pip install --upgrade wheel # Install pony orm with pip since it is not available in Debian repository - pip install --user pony>=0.7.9 + pip install --upgrade pony==0.7.9 # 2019-02-13; Add lz4 compression ; Remove this once this library is updated in Debian repo - pip install --user lz4 + pip install --upgrade lz4 fi