Mercurial > hg > Members > aka > jupyter_CbC_kernel
changeset 60:ff9eb1c21ea8
Remove easy install script as installation method changed
author | Brendan Rius <brendan.rius@gmail.com> |
---|---|
date | Thu, 10 Aug 2017 17:05:45 +0200 |
parents | f7b9bc7445e2 |
children | f07ad089f063 |
files | README.md install.sh |
diffstat | 2 files changed, 0 insertions(+), 34 deletions(-) [+] |
line wrap: on
line diff
--- a/README.md Thu Aug 10 17:01:40 2017 +0200 +++ b/README.md Thu Aug 10 17:05:45 2017 +0200 @@ -19,10 +19,6 @@ * `install_c_kernel` * `jupyter-notebook`. Enjoy! -### Easy installation for Unix user: - - * `wget -O - https://raw.githubusercontent.com/brendan-rius/jupyter-c-kernel/master/install.sh | sh` - ## Example of notebook ![Example of notebook](example-notebook.png?raw=true "Example of notebook")
--- a/install.sh Thu Aug 10 17:01:40 2017 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,30 +0,0 @@ -echo " ___ _ _____ _ __ _ " -echo " |_ | | | / __ \ | | / / | |" -echo " | |_ _ _ __ _ _| |_ ___ _ __ | / \/ | |/ / ___ _ __ _ __ ___| |" -echo " | | | | | '_ \| | | | __/ _ \ '__| | | | \ / _ \ '__| '_ \ / _ \ |" -echo "/\__/ / |_| | |_) | |_| | || __/ | | \__/\ | |\ \ __/ | | | | | __/ |" -echo "\____/ \__._| .__/ \__. |\__\___|_| \____/ \_| \_/\___|_| |_| |_|\___|_|" -echo " | | __/ | " -echo " |_| |___/ " - -tag_name="$1" -repository="${2:-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. " -cd $repo_name -if [ ! -z "$tag_name" ]; then - echo ":: Using tag $tag_name" - git checkout "$tag_name"; echo "Done." -fi -echo ":: Installing kernel specification" -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"