diff --git a/scripts/_common.sh b/scripts/_common.sh index d1b85e1..3357689 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -5,7 +5,7 @@ #================================================= # dependencies used by the app (must be on a single line) -pkg_dependencies="git curl python3 python3-pip python3-venv libpq-dev libsasl2-dev python3-dev libssl-dev" +pkg_dependencies="git curl python3 python3-pip python3-venv libpq-dev libsasl2-dev python3-dev libssl-dev libffi-dev python3-cffi" #================================================= # PERSONAL HELPERS diff --git a/scripts/install b/scripts/install index 0e6f509..230deb8 100755 --- a/scripts/install +++ b/scripts/install @@ -110,6 +110,9 @@ ynh_add_nginx_config pushd $final_path ynh_exec_as $app python3 -m venv $final_path/venv + ynh_exec_as $app "$final_path/venv/bin/pip" install --upgrade pip + ynh_exec_as $app "$final_path/venv/bin/pip" install --upgrade setuptools + ynh_exec_as $app "$final_path/venv/bin/pip" install --upgrade MarkupSafe ynh_exec_as $app "$final_path/venv/bin/pip" install isso gunicorn popd