[Live-demo] ipython install for Live 9.5

Angelos Tzotsos gcpp.kalxas at gmail.com
Thu Jan 14 10:39:45 PST 2016


Hi Brian,

Massimo has offered to create debian packages for Ipython/Jupyter for this
release, so I would prefer to wait for this cleaner solution instead.

I will check the dependencies for those packages and report back.

Best,
Angelos

On Thu, Jan 14, 2016 at 1:19 AM, Brian M Hamlin <maplabs at light42.com> wrote:

> 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
>
> _______________________________________________
> Live-demo mailing list
> Live-demo at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/live-demo
> http://live.osgeo.org
> http://wiki.osgeo.org/wiki/Live_GIS_Disc




-- 
Angelos Tzotsos, PhD
OSGeo Charter Member
http://users.ntua.gr/tzotsos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/osgeolive/attachments/20160114/b9cb8a49/attachment.html>


More information about the Osgeolive mailing list