view install.sh @ 47:69fc0b9c02b8

Update README.md
author Brendan Rius <brendan.rius@gmail.com>
date Wed, 08 Jun 2016 11:44:17 +0100
parents 4ccc6146fd7e
children d3fdb29f3fdc
line wrap: on
line source

echo "   ___                   _              _____   _   __                     _ "
echo "  |_  |                 | |            /  __ \ | | / /                    | |"
echo "    | |_   _ _ __  _   _| |_ ___ _ __  | /  \/ | |/ /  ___ _ __ _ __   ___| |"
echo "    | | | | | '_ \| | | | __/ _ \ '__| | |     |    \ / _ \ '__| '_ \ / _ \ |"
echo "/\__/ / |_| | |_) | |_| | ||  __/ |    | \__/\ | |\  \  __/ |  | | | |  __/ |"
echo "\____/ \__._| .__/ \__. |\__\___|_|     \____/ \_| \_/\___|_|  |_| |_|\___|_|"
echo "            | |     __/ |                                                    "
echo "            |_|    |___/                                                     "


repository="https://github.com/brendan-rius/jupyter-c-kernel.git"
repo_name="jupyter-c-kernel"

set -x

echo ":: Installing python module C kernel."
pip install $repo_name; echo "Done. "
echo ":: Cloning Jupyter C-kernel... "
git clone $repository $repo_name; echo "Done. "
echo ":: Installing kernel specification"
cd $repo_name
jupyter-kernelspec install c_spec/ ; echo "Done."
echo ":: Removing repository"
cd ..
rm -rf jupyter-c-kernel/
echo "Completed! Installation successful. You can type jupyter-notebook and be happy"