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" )