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:
parent
cecaf60b94
commit
2cbe6c0a0c
3 changed files with 1 additions and 3 deletions
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue