Mercurial > hg > Members > aka > jupyter_CbC_kernel
annotate install.sh @ 52:0ef931211f77
Added cflags and ldflags magics
author | Ben Spoor <ben.spoor@altran.com> |
---|---|
date | Wed, 12 Apr 2017 15:32:07 +0000 |
parents | 4ccc6146fd7e |
children | d3fdb29f3fdc |
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 |
43 | 11 repository="https://github.com/brendan-rius/jupyter-c-kernel.git" |
26
06e1c3c43532
Add alternative installation using wget and sh
Manoel Vilela <manoel_vilela@engineer.com>
parents:
diff
changeset
|
12 repo_name="jupyter-c-kernel" |
43 | 13 |
14 set -x | |
26
06e1c3c43532
Add alternative installation using wget and sh
Manoel Vilela <manoel_vilela@engineer.com>
parents:
diff
changeset
|
15 |
43 | 16 echo ":: Installing python module C kernel." |
17 pip install $repo_name; echo "Done. " | |
26
06e1c3c43532
Add alternative installation using wget and sh
Manoel Vilela <manoel_vilela@engineer.com>
parents:
diff
changeset
|
18 echo ":: Cloning Jupyter C-kernel... " |
06e1c3c43532
Add alternative installation using wget and sh
Manoel Vilela <manoel_vilela@engineer.com>
parents:
diff
changeset
|
19 git clone $repository $repo_name; echo "Done. " |
06e1c3c43532
Add alternative installation using wget and sh
Manoel Vilela <manoel_vilela@engineer.com>
parents:
diff
changeset
|
20 echo ":: Installing kernel specification" |
06e1c3c43532
Add alternative installation using wget and sh
Manoel Vilela <manoel_vilela@engineer.com>
parents:
diff
changeset
|
21 cd $repo_name |
43 | 22 jupyter-kernelspec install c_spec/ ; echo "Done." |
23 echo ":: Removing repository" | |
24 cd .. | |
25 rm -rf jupyter-c-kernel/ | |
26
06e1c3c43532
Add alternative installation using wget and sh
Manoel Vilela <manoel_vilela@engineer.com>
parents:
diff
changeset
|
26 echo "Completed! Installation successful. You can type jupyter-notebook and be happy" |