From 63411157a542b37c24c18d8825421a5e3ae7ccee Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sun, 27 Mar 2022 13:03:55 +0200 Subject: [PATCH] Update restore --- scripts/restore | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/scripts/restore b/scripts/restore index de4cf4f..6c90d49 100644 --- a/scripts/restore +++ b/scripts/restore @@ -91,6 +91,19 @@ ynh_script_progression --message="Reinstalling dependencies..." # Define and install dependencies ynh_install_app_dependencies $pkg_dependencies +#================================================= +# INSTALL PYTHON DEPENDENCIES +#================================================= +ynh_script_progression --message="Installing Python dependencies..." + +pushd $final_path + python3 -m venv $final_path/venv + source $final_path/venv/bin/activate + pip install --upgrade pip + pip install --upgrade pyyaml + pip install --pre pyload-ng[all] +popd + #================================================= # RESTORE SYSTEMD #=================================================