mirror of
https://github.com/XaverKlemenschits/jupyter-c-kernel.git
synced 2025-04-22 12:56:07 +00:00
Improve install.sh
This commit is contained in:
parent
2937ba0f6f
commit
a7bcd78fdc
13
install.sh
Normal file → Executable file
13
install.sh
Normal file → Executable file
@ -8,14 +8,19 @@ echo " | | __/ |
|
||||
echo " |_| |___/ "
|
||||
|
||||
|
||||
repository="https://github.com/brendan-rius/jupyter-c-kernel.git"
|
||||
repo_name="jupyter-c-kernel"
|
||||
repository=git@github.com:brendan-rius/jupyter-c-kernel.git
|
||||
|
||||
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 python module C kernel."
|
||||
sudo -H pip install $repo_name; echo "Done. "
|
||||
echo ":: Installing kernel specification"
|
||||
cd $repo_name
|
||||
sudo jupyter-kernelspec install c_spec/ ; echo "Done."
|
||||
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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user