diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..5ceb3864c2911029f0a6010fadab352e4b8e2d07 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +venv diff --git a/create_kernel.sh b/create_kernel.sh index a34629c1638097a3a34a277209ff9f612ab97faa..3e79328ac9fc98fbbb3df13c04cbeaf3d620a0e7 100755 --- a/create_kernel.sh +++ b/create_kernel.sh @@ -6,11 +6,13 @@ source ${ABSOLUTE_PATH}/config.sh KERNELFILE=${ENV_DIR}/kernel.sh +echo the name is $ENV_NAME + echo "Setting up the kernel script in the following dir: " ${KERNELFILE} echo '#!/bin/bash -source '"${ENV_DIR}"'/activate.sh +source '"${ABSOLUTE_PATH}"'/activate.sh exec python -m ipykernel $@' > ${KERNELFILE} @@ -23,6 +25,6 @@ echo '{ "-f", "{connection_file}" ], - "display_name": "'${ENV_NANE}'", + "display_name": "'${ENV_NAME}'", "language": "python" }' > ~/.local/share/jupyter/kernels/${ENV_NAME}/kernel.json diff --git a/requirements.txt b/requirements.txt index 0dd006bbc37158dd5128c9b63ea0767cd68b0c28..ac9356d438ff60b7ae219738e889c33c002191c9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1,2 @@ opencv-python +ipykernel