Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MaggotUBA-adapter
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nyx
MaggotUBA-adapter
Commits
599f3bb4
Commit
599f3bb4
authored
2 years ago
by
François LAURENT
Browse files
Options
Downloads
Patches
Plain Diff
version increment
parent
0e842e4d
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
pyproject.toml
+1
-1
1 addition, 1 deletion
pyproject.toml
scripts/reinstall.sh
+4
-2
4 additions, 2 deletions
scripts/reinstall.sh
with
5 additions
and
3 deletions
pyproject.toml
+
1
−
1
View file @
599f3bb4
[tool.poetry]
[tool.poetry]
name
=
"MaggotUBA-adapter"
name
=
"MaggotUBA-adapter"
version
=
"0.12.
1
"
version
=
"0.12.
2
"
description
=
"Interface between MaggotUBA and the Nyx tagging UI"
description
=
"Interface between MaggotUBA and the Nyx tagging UI"
authors
=
[
"François Laurent"
]
authors
=
[
"François Laurent"
]
license
=
"MIT"
license
=
"MIT"
...
...
This diff is collapsed.
Click to expand it.
scripts/reinstall.sh
+
4
−
2
View file @
599f3bb4
...
@@ -6,14 +6,16 @@
...
@@ -6,14 +6,16 @@
rm
-rf
$(
poetry
env
info
-p
)
rm
-rf
$(
poetry
env
info
-p
)
poetry
env
use python3.8
poetry
env
use python3.8
rm
-f
poetry.lock
rm
-f
poetry.lock
poetry
install
-v
vv
poetry
install
-v
if
[
"
$(
git branch
--show-current
)
"
=
"design"
]
;
then
if
[
"
$(
git branch
--show-current
)
"
=
"design"
]
;
then
# register the venv with Jupyter
# register the venv with Jupyter
envname
=
$(
basename
$(
poetry
env
info
-p
))
envname
=
$(
basename
$(
poetry
env
info
-p
))
poetry run python
-m
ipykernel
install
--user
--name
$envname
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
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
fi
# if pyproject.toml was not updated in the first place:
# if pyproject.toml was not updated in the first place:
#poetry add ../TaggingBackends -v
vv
#poetry add ../TaggingBackends -v
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment