=================================================================== RCS file: /home/cvs/OpenXM/src/jupyter/Makefile,v retrieving revision 1.2 retrieving revision 1.4 diff -u -p -r1.2 -r1.4 --- OpenXM/src/jupyter/Makefile 2019/05/27 07:15:46 1.2 +++ OpenXM/src/jupyter/Makefile 2022/03/30 05:39:59 1.4 @@ -1,10 +1,13 @@ -# $OpenXM$ +# $OpenXM: OpenXM/src/jupyter/Makefile,v 1.3 2019/05/28 00:26:23 takayama Exp $ usage: @echo "install-debian-for-debug clean-debian" @echo "install-mac-anaconda2-for-debug" @echo "put-to-ox-dir get-from-ox-dir" + @echo " " + @echo "On Ubuntu20.04/wsl2, do apt install jupyter-notebook and pip3 install metakernel. Start with /usr/bin/jupyter notebook" -Debian_ASIR_KERNEL_DIR=${HOME}/.local/lib/python2.7/site-packages/asir_kernel +#Debian_ASIR_KERNEL_DIR=${HOME}/.local/lib/python2.7/site-packages/asir_kernel +Debian_ASIR_KERNEL_DIR=${HOME}/.local/lib/python3.8/site-packages/asir_kernel Debian_ASIR_KERNEL_INFO=${HOME}/.local/share/jupyter/kernels/asir install-debian-for-debug: -mkdir ${HOME}/bin @@ -21,7 +24,7 @@ clean-debian: rm -rf ${Debian_ASIR_KERNEL_DIR} ${Debian_ASIR_KERNEL_INFO} ${HOME}/bin/asir-cli OX_DIR=${OpenXM_HOME}/src/jupyter -ASIR_KERNEL_FILES=kernel.py kernel.json __init__.py __main__.py +ASIR_KERNEL_FILES=kernel.py kernel.json __init__.py __main__.py asir-cli put-to-ox-dir: -mkdir -p ${OX_DIR} -for i in ${ASIR_KERNEL_FILES}; do rsync -avzu $$i ${OX_DIR} ; done