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