From 20f0fc66b78eee05503a5e77653e0c15b3ec9918 Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Thu, 7 Sep 2023 20:03:49 +0200 Subject: [PATCH 1/2] Update install --- scripts/install | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index b82298b..2ad638f 100755 --- a/scripts/install +++ b/scripts/install @@ -59,14 +59,13 @@ export PATH="$PATH:$install_dir/.cargo/bin:$install_dir/.local/bin:/usr/local/sb else sudo -u "$app" bash -c 'curl -sSf -L https://static.rust-lang.org/rustup.sh | sh -s -- -y --default-toolchain=stable --profile=minimal' fi - fi pushd $install_dir python3 -m venv $install_dir/venv source $install_dir/venv/bin/activate - ynh_exec_warn_less pip install --upgrade pip - ynh_exec_warn_less pip install fittrackee==$fittrackee_version toml pyyaml + ynh_exec_warn_less pip install --upgrade pip wheel toml pyyaml + ynh_exec_warn_less pip install fittrackee==$fittrackee_version popd #================================================= From 9de094a743e197297ea43ae95aa70115e99558b5 Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Thu, 7 Sep 2023 20:05:49 +0200 Subject: [PATCH 2/2] Update upgrade --- scripts/upgrade | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 4cfe6f1..747c3b2 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -70,17 +70,13 @@ export PATH="$PATH:$install_dir/.cargo/bin:$install_dir/.local/bin:/usr/local/sb else sudo -u "$app" bash -c 'curl -sSf -L https://static.rust-lang.org/rustup.sh | sh -s -- -y --default-toolchain=stable --profile=minimal' fi - -sudo -u "$app" env PATH=$PATH rustup install stable -sudo -u "$app" env PATH=$PATH rustup default stable - fi pushd $install_dir python3 -m venv $install_dir/venv source $install_dir/venv/bin/activate - ynh_exec_warn_less pip install --upgrade pip - ynh_exec_warn_less pip install fittrackee==$fittrackee_version toml pyyaml + ynh_exec_warn_less pip install --upgrade pip wheel toml pyyaml + ynh_exec_warn_less pip install fittrackee==$fittrackee_version popd