From f7538114fe50b01988d3065d8a15c30ad8be3417 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 20 Sep 2020 17:56:59 +0200 Subject: [PATCH] Update upgrade --- scripts/upgrade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 4d26aa8..1661a49 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -124,8 +124,8 @@ then ynh_secure_remove --file=$final_path/lib64/ --regex='python[^/.]*' ynh_secure_remove --file=$final_path/share/python-wheels fi -ynh_secure_remove --file=$final_path/lib/python3/site-packages/setuptools -ynh_secure_remove --file=$final_path/lib/python3/site-packages/ --regex='setuptools-[^/.]*' +ynh_secure_remove --file=$final_path/lib/python3.7/site-packages/setuptools +ynh_secure_remove --file=$final_path/lib/python3.7/site-packages/ --regex='setuptools-[^/.]*' python3 -m venv --system-site-packages "$final_path" set +u; source $final_path/bin/activate; set -u