diff --git a/scripts/install b/scripts/install index 01024fd..89e8771 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 708e3ec..7a3e577 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" )