diff --git a/scripts/install b/scripts/install index c4cea10..0120df2 100755 --- a/scripts/install +++ b/scripts/install @@ -52,6 +52,8 @@ ynh_script_progression --message="Installing Python dependencies..." --weight=3 pushd $install_dir python3 -m venv $install_dir/venv source $install_dir/venv/bin/activate + # Upgrade pip for Cryptography to work + ynh_exec_warn_less pip install --upgrade pip ynh_exec_warn_less pip install fittrackee==$fittrackee_version toml pyyaml popd diff --git a/scripts/upgrade b/scripts/upgrade index 0098afd..ea9cd8b 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -63,6 +63,8 @@ ynh_secure_remove $install_dir/.venv pushd $install_dir python3 -m venv $install_dir/venv source $install_dir/venv/bin/activate + # Upgrade pip for Cryptography to work + ynh_exec_warn_less pip install --upgrade pip ynh_exec_warn_less pip install fittrackee==$fittrackee_version toml pyyaml popd