From 2cbe6c0a0c28f0114f033929d1031c7e7b28ded2 Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Mon, 14 Aug 2023 13:06:21 +0200 Subject: [PATCH] install cryptography with apt --- manifest.toml | 2 +- scripts/install | 1 - scripts/upgrade | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/manifest.toml b/manifest.toml index e124f82..b3e6930 100644 --- a/manifest.toml +++ b/manifest.toml @@ -77,7 +77,7 @@ ram.runtime = "50M" main.default = 5000 [resources.apt] - packages = "postgresql, postgresql-contrib, python3, python3-venv, libopenjp2-7" + packages = "postgresql, postgresql-contrib, python3, python3-venv, libopenjp2-7, python3-cryptography" [resources.database] type = "postgresql" diff --git a/scripts/install b/scripts/install index 0120df2..2db8918 100755 --- a/scripts/install +++ b/scripts/install @@ -52,7 +52,6 @@ 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 ea9cd8b..9c2b2e6 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -63,7 +63,6 @@ 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