1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/endi_ynh.git synced 2024-09-03 18:35:54 +02:00

isolated venv

This commit is contained in:
Salamandar 2024-07-14 16:13:31 +02:00
parent 5ea06ca898
commit bc178da636

View file

@ -64,7 +64,7 @@ _ynh_python_venv_setup() {
local packages local packages
ynh_handle_getopts_args "$@" ynh_handle_getopts_args "$@"
ynh_exec_as "$app" python3 -m venv --system-site-packages "$venv_dir" ynh_exec_as "$app" python3 -m venv "$venv_dir"
if [[ -n "${packages:-}" ]]; then if [[ -n "${packages:-}" ]]; then
IFS=" " read -r -a pip_packages <<< "$packages" IFS=" " read -r -a pip_packages <<< "$packages"