mirror of
https://github.com/YunoHost-Apps/jupyterlab_ynh.git
synced 2024-09-03 19:26:35 +02:00
Fix .venv
https://stackoverflow.com/questions/57919110/how-to-set-pipenv-venv-in-project-on-per-project-basis
This commit is contained in:
parent
29584b9ddd
commit
5c6b790307
2 changed files with 4 additions and 3 deletions
|
@ -99,7 +99,7 @@ ynh_app_setting_set --app=$app --key=final_path --value=$final_path
|
|||
mkdir -p "$final_path"
|
||||
|
||||
pushd $final_path
|
||||
|
||||
mkdir -p .venv
|
||||
PIPENV_VENV_IN_PROJECT="enabled" PIPENV_SKIP_LOCK=true ynh_exec_warn_less python3 -m pipenv install jupyterlab==$jupyterlab_version jupyterhub notebook jupyterhub-ldapauthenticator pyzmq --three
|
||||
popd
|
||||
|
||||
|
|
|
@ -107,6 +107,7 @@ then
|
|||
ynh_script_progression --message="Building app..." --weight=160
|
||||
|
||||
pushd $final_path
|
||||
mkdir -p .venv
|
||||
PIPENV_VENV_IN_PROJECT="enabled" PIPENV_SKIP_LOCK=true ynh_exec_warn_less python3 -m pipenv install jupyterlab==$jupyterlab_version jupyterhub notebook jupyterhub-ldapauthenticator pyzmq
|
||||
popd
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue