Skip to content
Snippets Groups Projects
Commit f53eafb4 authored by Stefan Kesselheim's avatar Stefan Kesselheim
Browse files

small fixes

parent 8e4019a2
Branches master
No related tags found
No related merge requests found
venv
...@@ -6,11 +6,13 @@ source ${ABSOLUTE_PATH}/config.sh ...@@ -6,11 +6,13 @@ source ${ABSOLUTE_PATH}/config.sh
KERNELFILE=${ENV_DIR}/kernel.sh KERNELFILE=${ENV_DIR}/kernel.sh
echo the name is $ENV_NAME
echo "Setting up the kernel script in the following dir: " ${KERNELFILE} echo "Setting up the kernel script in the following dir: " ${KERNELFILE}
echo '#!/bin/bash echo '#!/bin/bash
source '"${ENV_DIR}"'/activate.sh source '"${ABSOLUTE_PATH}"'/activate.sh
exec python -m ipykernel $@' > ${KERNELFILE} exec python -m ipykernel $@' > ${KERNELFILE}
...@@ -23,6 +25,6 @@ echo '{ ...@@ -23,6 +25,6 @@ echo '{
"-f", "-f",
"{connection_file}" "{connection_file}"
], ],
"display_name": "'${ENV_NANE}'", "display_name": "'${ENV_NAME}'",
"language": "python" "language": "python"
}' > ~/.local/share/jupyter/kernels/${ENV_NAME}/kernel.json }' > ~/.local/share/jupyter/kernels/${ENV_NAME}/kernel.json
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment