Skip to content

Commit

Permalink
Try full conda
Browse files Browse the repository at this point in the history
  • Loading branch information
fmaussion committed Jun 20, 2019
1 parent 3bd369b commit 7bad00a
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 49 deletions.
52 changes: 52 additions & 0 deletions binder/environment.yml
@@ -0,0 +1,52 @@
name: oggm
channels:
- conda-forge
dependencies:
- python=3.6
- jupyter
- jupyterlab
- jupyterhub
- bokeh
- nbserverproxy
- ipywidgets
- graphviz
- numpy
- scipy
- pandas
- shapely
- matplotlib
- Pillow
- netcdf4
- scikit-image
- scikit-learn
- configobj
- xarray
- pytest
- dask
- bottleneck
- pyproj
- cartopy
- geopandas
- rasterio
- pyviz_comms
- bokeh
- param
- holoviews
- hvplot
- geoviews
- panel
- parambokeh
- datashader
- descartes
- seaborn
- ipympl
- pip
- pip:
- joblib
- progressbar2
- motionless
- nbgitpuller
- git+https://github.com/fmaussion/salem.git
- git+https://github.com/OGGM/oggm.git
- git+https://github.com/OGGM/oggm-edu.git
- git+https://github.com/retostauffer/python-colorspace
31 changes: 2 additions & 29 deletions binder/postBuild
@@ -1,42 +1,15 @@
#!/bin/bash

# Add packages
pip install gdal=="$(gdal-config --version)" --install-option="build_ext" --install-option="$(gdal-config --cflags | sed 's/-I/--include-dirs=/')"
pip install fiona --install-option="build_ext" --install-option="$(gdal-config --cflags | sed 's/-I/--include-dirs=/')"
pip install pyproj
pip install cython
pip install cartopy
pip install geopandas
pip install rasterio
pip install pyviz_comms
pip install bokeh
pip install param
pip install holoviews
pip install hvplot
pip install geoviews
pip install pyct
pip install panel
pip install parambokeh
pip install datashader
pip install descartes
pip install seaborn
pip install git+https://github.com/fmaussion/salem.git
pip install git+https://github.com/OGGM/oggm.git
pip install git+https://github.com/OGGM/oggm-edu.git
pip install git+https://github.com/retostauffer/python-colorspace
# serverextensions
jupyter serverextension enable --sys-prefix --py nbserverproxy

# Jupyterlab
pip install jupyterlab==0.35.4
pip install ipympl
jupyter labextension install @jupyter-widgets/jupyterlab-manager
jupyter labextension install jupyter-matplotlib
jupyter labextension install jupyterlab_bokeh
jupyter labextension install @pyviz/jupyterlab_pyviz
jupyter serverextension enable --py nbgitpuller --sys-prefix

# Jupyter Hub - for cluster
pip install jupyterhub==0.9.6

# Add funny font
mkdir ~/.fonts
wget http://antiyawn.com/uploads/Humor-Sans-1.0.ttf
Expand Down
20 changes: 0 additions & 20 deletions binder/requirements.txt

This file was deleted.

0 comments on commit 7bad00a

Please sign in to comment.