1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jupyterlab_ynh.git synced 2024-09-03 19:26:35 +02:00

Fix install

This commit is contained in:
Salamandar 2024-03-22 00:02:23 +01:00
parent df891e0b28
commit 89b64b7d80
3 changed files with 3 additions and 4 deletions

View file

@ -10,13 +10,12 @@ nodejs_version="18"
# PERSONAL HELPERS
#=================================================
upstream_version() {
jupyterlab_upstream_version() {
upstream_repository=$(ynh_read_manifest --manifest_key='upstream.code')
upstream_url=$(ynh_read_manifest --manifest_key='resources.sources.main.url')
upstream_commit=$(echo "$upstream_url" | sed -e "s|^${upstream_repository}/archive/refs/tags/\(.*\)\.tar\.gz|\1|")
echo "$upstream_commit"
}
jupyterlab_version="$(upstream_version)"
#=================================================
# EXPERIMENTAL HELPERS

View file

@ -25,7 +25,7 @@ ynh_script_progression --message="Building app..." --weight=5
python3 -m venv "$install_dir/venv"
ynh_exec_warn_less "$install_dir/venv/bin/python3" pip install \
jupyterlab=="$jupyterlab_version" \
jupyterlab=="$(jupyterlab_upstream_version)" \
jupyterhub \
jupyter_collaboration \
notebook \

View file

@ -33,7 +33,7 @@ ynh_secure_remove --file="$install_dir/.venv"
python3 -m venv "$install_dir/venv"
ynh_exec_warn_less "$install_dir/venv/bin/python3" pip install \
jupyterlab=="$jupyterlab_version" \
jupyterlab=="$(jupyterlab_upstream_version)" \
jupyterhub \
jupyter_collaboration \
notebook \