diff --git a/scripts/install b/scripts/install index 00e3f52..606feee 100644 --- a/scripts/install +++ b/scripts/install @@ -82,7 +82,7 @@ ynh_install_app_dependencies $pkg_dependencies ynh_exec_warn_less ynh_install_nodejs --nodejs_version=8 -pip3 install pipenv +python3 -m pip install pipenv npm install -g configurable-http-proxy @@ -99,7 +99,7 @@ mkdir -p $final_path pushd $final_path -PIPENV_VENV_IN_PROJECT="enabled" PIPENV_SKIP_LOCK=true ynh_exec_warn_less pipenv install jupyterlab==$jupyterlab_version jupyterhub notebook jupyterhub-ldapauthenticator --three +PIPENV_VENV_IN_PROJECT="enabled" PIPENV_SKIP_LOCK=true ynh_exec_warn_less python3 -m pipenv install jupyterlab==$jupyterlab_version jupyterhub notebook jupyterhub-ldapauthenticator --three popd diff --git a/scripts/restore b/scripts/restore index 7411fbf..81c2f9f 100644 --- a/scripts/restore +++ b/scripts/restore @@ -77,7 +77,7 @@ ynh_install_app_dependencies $pkg_dependencies ynh_exec_warn_less ynh_install_nodejs --nodejs_version=8 -pip3 install pipenv +python3 -m pip install pipenv npm install -g configurable-http-proxy diff --git a/scripts/upgrade b/scripts/upgrade index 121cb5a..8187b58 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -99,7 +99,7 @@ ynh_exec_warn_less ynh_install_nodejs --nodejs_version=8 npm install -g configurable-http-proxy -pip3 install pipenv +python3 -m pip install pipenv #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE @@ -116,9 +116,9 @@ then pushd $final_path - PIPENV_VENV_IN_PROJECT="enabled" PIPENV_SKIP_LOCK=true ynh_exec_warn_less pipenv install jupyterlab==$jupyterlab_version jupyterhub notebook jupyterhub-ldapauthenticator --three + PIPENV_VENV_IN_PROJECT="enabled" PIPENV_SKIP_LOCK=true ynh_exec_warn_less python3 -m pipenv install jupyterlab==$jupyterlab_version jupyterhub notebook jupyterhub-ldapauthenticator --three - ynh_exec_warn_less pipenv run jupyterhub upgrade-db + ynh_exec_warn_less python3 -m pipenv run jupyterhub upgrade-db popd fi