Mercurial > hg > Members > aka > jupyter_CbC_kernel
annotate install.sh @ 28:47c2bcc86359
For compatibility reasons, use jupyter-kernelspec
At older versions the meta command `jupyter` doesn't exist.
author | Manoel Vilela <manoel_vilela@engineer.com> |
---|---|
date | Fri, 29 Apr 2016 05:47:25 -0300 |
parents | 06e1c3c43532 |
children | 4ccc6146fd7e |
rev | line source |
---|---|
26
06e1c3c43532
Add alternative installation using wget and sh
Manoel Vilela <manoel_vilela@engineer.com>
parents:
diff
changeset
|
1 echo " ___ _ _____ _ __ _ " |
06e1c3c43532
Add alternative installation using wget and sh
Manoel Vilela <manoel_vilela@engineer.com>
parents:
diff
changeset
|
2 echo " |_ | | | / __ \ | | / / | |" |
06e1c3c43532
Add alternative installation using wget and sh
Manoel Vilela <manoel_vilela@engineer.com>
parents:
diff
changeset
|
3 echo " | |_ _ _ __ _ _| |_ ___ _ __ | / \/ | |/ / ___ _ __ _ __ ___| |" |
06e1c3c43532
Add alternative installation using wget and sh
Manoel Vilela <manoel_vilela@engineer.com>
parents:
diff
changeset
|
4 echo " | | | | | '_ \| | | | __/ _ \ '__| | | | \ / _ \ '__| '_ \ / _ \ |" |
06e1c3c43532
Add alternative installation using wget and sh
Manoel Vilela <manoel_vilela@engineer.com>
parents:
diff
changeset
|
5 echo "/\__/ / |_| | |_) | |_| | || __/ | | \__/\ | |\ \ __/ | | | | | __/ |" |
06e1c3c43532
Add alternative installation using wget and sh
Manoel Vilela <manoel_vilela@engineer.com>
parents:
diff
changeset
|
6 echo "\____/ \__._| .__/ \__. |\__\___|_| \____/ \_| \_/\___|_| |_| |_|\___|_|" |
06e1c3c43532
Add alternative installation using wget and sh
Manoel Vilela <manoel_vilela@engineer.com>
parents:
diff
changeset
|
7 echo " | | __/ | " |
06e1c3c43532
Add alternative installation using wget and sh
Manoel Vilela <manoel_vilela@engineer.com>
parents:
diff
changeset
|
8 echo " |_| |___/ " |
06e1c3c43532
Add alternative installation using wget and sh
Manoel Vilela <manoel_vilela@engineer.com>
parents:
diff
changeset
|
9 |
06e1c3c43532
Add alternative installation using wget and sh
Manoel Vilela <manoel_vilela@engineer.com>
parents:
diff
changeset
|
10 |
06e1c3c43532
Add alternative installation using wget and sh
Manoel Vilela <manoel_vilela@engineer.com>
parents:
diff
changeset
|
11 repo_name="jupyter-c-kernel" |
06e1c3c43532
Add alternative installation using wget and sh
Manoel Vilela <manoel_vilela@engineer.com>
parents:
diff
changeset
|
12 repository=git@github.com:brendan-rius/jupyter-c-kernel.git |
06e1c3c43532
Add alternative installation using wget and sh
Manoel Vilela <manoel_vilela@engineer.com>
parents:
diff
changeset
|
13 |
06e1c3c43532
Add alternative installation using wget and sh
Manoel Vilela <manoel_vilela@engineer.com>
parents:
diff
changeset
|
14 echo ":: Cloning Jupyter C-kernel... " |
06e1c3c43532
Add alternative installation using wget and sh
Manoel Vilela <manoel_vilela@engineer.com>
parents:
diff
changeset
|
15 git clone $repository $repo_name; echo "Done. " |
06e1c3c43532
Add alternative installation using wget and sh
Manoel Vilela <manoel_vilela@engineer.com>
parents:
diff
changeset
|
16 echo ":: Installing python module C kernel." |
06e1c3c43532
Add alternative installation using wget and sh
Manoel Vilela <manoel_vilela@engineer.com>
parents:
diff
changeset
|
17 sudo -H pip install $repo_name; echo "Done. " |
06e1c3c43532
Add alternative installation using wget and sh
Manoel Vilela <manoel_vilela@engineer.com>
parents:
diff
changeset
|
18 echo ":: Installing kernel specification" |
06e1c3c43532
Add alternative installation using wget and sh
Manoel Vilela <manoel_vilela@engineer.com>
parents:
diff
changeset
|
19 cd $repo_name |
28
47c2bcc86359
For compatibility reasons, use jupyter-kernelspec
Manoel Vilela <manoel_vilela@engineer.com>
parents:
26
diff
changeset
|
20 sudo jupyter-kernelspec install c_spec/ ; echo "Done." |
26
06e1c3c43532
Add alternative installation using wget and sh
Manoel Vilela <manoel_vilela@engineer.com>
parents:
diff
changeset
|
21 echo "Completed! Installation successful. You can type jupyter-notebook and be happy" |