Skip to content
Snippets Groups Projects
Commit 85ce492c authored by Michael Leuschel's avatar Michael Leuschel
Browse files

add target in Makefile to install kernel for VSCode

parent 7389c733
Branches
Tags
Loading
Pipeline #99236 passed
......@@ -6,8 +6,13 @@ install:
./gradlew installKernelSpec
USERNAME=
PHOME=/Users/$(USERNAME)/git_root/prob_prolog
JUPYTER=/Users/$(USERNAME)/opt/miniconda3/bin/jupyter
#JUPYTER=/Users/$(USERNAME)/opt/miniconda3/envs/py10/bin/jupyter
installph:
./gradlew -PprobHome=$(PHOME) installKernelSpec
./gradlew -PprobHome=$(PHOME) -PjupyterCommand=$(JUPYTER) installKernelSpec
installphuser:
echo "Installing for user, so that, e.g., VSCode sees the kernel"
./gradlew -PprobHome=$(PHOME) -PjupyterCommand=$(JUPYTER) -PkernelspecUserInstall=true installKernelSpec
console:
jupyter console --kernel prob2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment