From 599f3bb4a4496212bbaac82e6c30a337b8230eff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Laurent?= <francois.laurent@posteo.net> Date: Tue, 11 Apr 2023 15:53:31 +0200 Subject: [PATCH] version increment --- pyproject.toml | 2 +- scripts/reinstall.sh | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index a4f857f..8130550 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "MaggotUBA-adapter" -version = "0.12.1" +version = "0.12.2" description = "Interface between MaggotUBA and the Nyx tagging UI" authors = ["François Laurent"] license = "MIT" diff --git a/scripts/reinstall.sh b/scripts/reinstall.sh index a4442e6..7dfacff 100755 --- a/scripts/reinstall.sh +++ b/scripts/reinstall.sh @@ -6,14 +6,16 @@ rm -rf $(poetry env info -p) poetry env use python3.8 rm -f poetry.lock -poetry install -vvv +poetry install -v if [ "$(git branch --show-current)" = "design" ]; then # register the venv with Jupyter envname=$(basename $(poetry env info -p)) poetry run python -m ipykernel install --user --name $envname sed -i "s|],|],\n \"env\": {\n \"JULIA_PROJECT\": \"$(realpath ../TaggingBackends)\"\n },|" ~/.local/share/jupyter/kernels/${envname,,}/kernel.json +else +echo 'Note: only the "design" branch exports its environment as a kernel for Jupyter' fi # if pyproject.toml was not updated in the first place: -#poetry add ../TaggingBackends -vvv +#poetry add ../TaggingBackends -v -- GitLab