diff --git a/scripts/install b/scripts/install index 432ec84..ae91bba 100644 --- a/scripts/install +++ b/scripts/install @@ -29,7 +29,7 @@ chown $app:$app "$install_dir/superset_config.py" ynh_script_progression --message="Installing app..." --weight=5 # Prepare environment -python3.9 -m venv $install_dir/venv +python3 -m venv $install_dir/venv localpath=$install_dir/venv/bin:$PATH environment="FLASK_APP=superset SUPERSET_CONFIG_PATH=$install_dir/superset_config.py SUPERSET_SECRET_KEY=$secret_key" export $environment diff --git a/scripts/upgrade b/scripts/upgrade index 67ab6cf..9389471 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -42,7 +42,7 @@ chown $app:$app "$install_dir/superset_config.py" ynh_script_progression --message="Upgrading app..." --weight=5 # Prepare environment -python3.9 -m venv --upgrade $install_dir/venv +python3 -m venv --upgrade $install_dir/venv localpath=$install_dir/venv/bin:$PATH environment="FLASK_APP=superset SUPERSET_CONFIG_PATH=$install_dir/superset_config.py SUPERSET_SECRET_KEY=$secret_key" export $environment