mirror of
https://github.com/YunoHost-Apps/13ft_ynh.git
synced 2024-09-03 18:06:03 +02:00
python dependencies on upgrade
Including `requests`
This commit is contained in:
parent
e2582ec7b4
commit
9315b124b8
1 changed files with 13 additions and 0 deletions
|
@ -126,6 +126,19 @@ ynh_script_progression --message="Upgrading dependencies..." --weight=1
|
|||
|
||||
ynh_install_app_dependencies $pkg_dependencies
|
||||
|
||||
#=================================================
|
||||
# INSTALL PYTHON DEPENDENCIES
|
||||
#=================================================
|
||||
|
||||
ynh_script_progression --message="Installing python dependencies..." --weight=1
|
||||
|
||||
pushd $final_path
|
||||
python3 -m venv venv
|
||||
venv/bin/pip install --upgrade pip
|
||||
venv/bin/pip install -r requirements.txt # should only be flask for now, but just in case
|
||||
venv/bin/pip install requests
|
||||
popd
|
||||
|
||||
#=================================================
|
||||
# NGINX CONFIGURATION
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue