From 0ea8bde688c453982fb44ea8110d3f83afe16cda Mon Sep 17 00:00:00 2001 From: JensDiemer Date: Mon, 22 Nov 2021 22:56:16 +0100 Subject: [PATCH] Install/update python "wheel" package, too. --- scripts/install | 2 +- scripts/restore | 2 +- scripts/upgrade | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index 3726d56..1fec9a0 100755 --- a/scripts/install +++ b/scripts/install @@ -112,7 +112,7 @@ chown -R "$app:" "$final_path" set +o nounset source "${final_path}/venv/bin/activate" set -o nounset - ynh_exec_as $app $final_path/venv/bin/pip install --upgrade pip + ynh_exec_as $app $final_path/venv/bin/pip install --upgrade wheel pip ynh_exec_as $app $final_path/venv/bin/pip install --no-deps -r "$final_path/requirements.txt" ) diff --git a/scripts/restore b/scripts/restore index 8ebdb84..b4a7746 100755 --- a/scripts/restore +++ b/scripts/restore @@ -95,7 +95,7 @@ python3 -m venv --upgrade "${final_path}/venv" set +o nounset source "${final_path}/venv/bin/activate" set -o nounset - ynh_exec_as $app $final_path/venv/bin/pip install --upgrade pip + ynh_exec_as $app $final_path/venv/bin/pip install --upgrade wheel pip ynh_exec_as $app $final_path/venv/bin/pip install --no-deps -r "$final_path/requirements.txt" ) diff --git a/scripts/upgrade b/scripts/upgrade index 3d645b5..4ecde84 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -96,7 +96,7 @@ chown -R "$app:" "$final_path" set +o nounset source "${final_path}/venv/bin/activate" set -o nounset - ynh_exec_as $app $final_path/venv/bin/pip install --upgrade pip + ynh_exec_as $app $final_path/venv/bin/pip install --upgrade wheel pip ynh_exec_as $app $final_path/venv/bin/pip install --no-deps -r "$final_path/requirements.txt" )