mirror of
https://github.com/YunoHost-Apps/isso_ynh.git
synced 2024-09-03 19:35:55 +02:00
fix env
This commit is contained in:
parent
c5890034b1
commit
ccf5a93290
2 changed files with 2 additions and 6 deletions
|
@ -108,9 +108,7 @@ ynh_add_nginx_config
|
|||
|
||||
pushd $final_path
|
||||
python3 -m venv $final_path/venv
|
||||
source $final_path/venv/bin/activate
|
||||
pip install --upgrade pip
|
||||
ynh_exec_warn_less pip install isso gunicorn
|
||||
ynh_exec_as $app "$final_path/venv/bin/pip" install isso gunicorn
|
||||
popd
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -76,9 +76,7 @@ then
|
|||
ynh_script_progression --message="Upgrading source files..." --time --weight=1
|
||||
|
||||
pushd $final_path
|
||||
source $final_path/venv/bin/activate
|
||||
pip install --upgrade pip
|
||||
ynh_exec_warn_less pip install --upgrade isso gunicorn
|
||||
ynh_exec_as $app "$final_path/venv/bin/pip" install --upgrade isso gunicorn
|
||||
popd
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue