1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/fittrackee_ynh.git synced 2024-09-03 18:36:16 +02:00

install cryptography with apt

This commit is contained in:
Thomas 2023-08-14 13:06:21 +02:00 committed by GitHub
parent cecaf60b94
commit 2cbe6c0a0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 3 deletions

View file

@ -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"

View file

@ -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

View file

@ -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