[Live-demo] ipython install for Live 9.5
Brian M Hamlin
maplabs at light42.com
Wed Jan 13 15:19:49 PST 2016
hi all - with a little bit of research, I believe this is our best route forward..
As you can see in the diff, we use pypi to get version 4 of both IPython and the notebook machinery
I propose we build with this As Soon As Possble to start the Notebook demos work
---
commit 9c92a1ff7991339579f6aa868070d7595debf123
Author: darkblue-b <sample.com>
Date: Wed Jan 13 15:13:35 2016 -0800
jupyter first pass
diff --git a/bin/install_ipython.sh b/bin/install_ipython.sh
index 6a2b8ce..9084592 100755
--- a/bin/install_ipython.sh
+++ b/bin/install_ipython.sh
@@ -29,6 +29,7 @@ BUILD_DIR=`pwd`
## 24jan14 change in iPython+numpy+matplotlib
## 04jul14 jtaylor iPython
+## 13jan16 jupyter
apt-get install --assume-yes git python-pip \
python-matplotlib python-scipy python-pandas \
@@ -40,14 +41,26 @@ apt-get install --assume-yes git python-pip \
#pip install cligj ## per ticket #1455 -- rasterio requirements
#The deb package in our ppa is way older than the day this requirement was added...
+##=============================================
#-- iPython from jtaylor .deb
-apt-add-repository --yes ppa:jtaylor/ipython
-apt-get update
+#apt-add-repository --yes ppa:jtaylor/ipython
+#apt-get update
-apt-get install --assume-yes ipython ipython-notebook ipython-qtconsole
+#apt-get install --assume-yes ipython ipython-notebook ipython-qtconsole
#-- Clean-up
-apt-add-repository --yes --remove ppa:jtaylor/ipython
+#apt-add-repository --yes --remove ppa:jtaylor/ipython
+##==========================================================
+
+apt-get install build-essential python-dev
+
+pip install --upgrade pyzmq
+pip install --upgrade ipython
+pip install --upgrade notebook
+
+apt-get remove build-essential python-dev
+
+##==========================================================
cp "$BUILD_DIR"/../app-data/ipython/ipython-notebook*.desktop \
"$USER_DESKTOP"/
--
Brian M Hamlin
OSGeo California Chapter
blog.light42.com
More information about the Osgeolive
mailing list