version 1.2, 2019/05/27 07:15:46 |
version 1.4, 2022/03/30 05:39:59 |
|
|
# $OpenXM$ |
# $OpenXM: OpenXM/src/jupyter/Makefile,v 1.3 2019/05/28 00:26:23 takayama Exp $ |
usage: |
usage: |
@echo "install-debian-for-debug clean-debian" |
@echo "install-debian-for-debug clean-debian" |
@echo "install-mac-anaconda2-for-debug" |
@echo "install-mac-anaconda2-for-debug" |
@echo "put-to-ox-dir get-from-ox-dir" |
@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 |
Debian_ASIR_KERNEL_INFO=${HOME}/.local/share/jupyter/kernels/asir |
install-debian-for-debug: |
install-debian-for-debug: |
-mkdir ${HOME}/bin |
-mkdir ${HOME}/bin |
|
|
rm -rf ${Debian_ASIR_KERNEL_DIR} ${Debian_ASIR_KERNEL_INFO} ${HOME}/bin/asir-cli |
rm -rf ${Debian_ASIR_KERNEL_DIR} ${Debian_ASIR_KERNEL_INFO} ${HOME}/bin/asir-cli |
|
|
OX_DIR=${OpenXM_HOME}/src/jupyter |
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: |
put-to-ox-dir: |
-mkdir -p ${OX_DIR} |
-mkdir -p ${OX_DIR} |
-for i in ${ASIR_KERNEL_FILES}; do rsync -avzu $$i ${OX_DIR} ; done |
-for i in ${ASIR_KERNEL_FILES}; do rsync -avzu $$i ${OX_DIR} ; done |