Skip to content

Commit

Permalink
Stop cartopy borking scipy stack
Browse files Browse the repository at this point in the history
  • Loading branch information
nerdcha committed Oct 20, 2015
1 parent 4f9096d commit a8b9000
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ RUN apt-get -y install cmake imagemagick && \
echo "/usr/local/lib" > /etc/ld.so.conf.d/opencv.conf && ldconfig && \
cp /usr/local/lib/python3.4/site-packages/cv2.cpython-34m.so /opt/conda/lib/python3.4/site-packages/

# matplotlib-toolkits

RUN apt-get -y install libgeos-dev && \
cd /usr/local/src && git clone https://github.com/matplotlib/basemap.git && \
export GEOS_DIR=/usr/local && \
Expand All @@ -86,11 +86,13 @@ RUN apt-get -y install libgeos-dev && \
pip install Pillow && \
cd /usr/local/src && git clone https://github.com/vitruvianscience/opendeep.git && \
cd opendeep && python setup.py develop && \
# Cartopy
conda install -c scitools cartopy
# Cartopy and dependencies
conda install proj4 && \
pip install packaging && \
cd /usr/local/src && git clone https://github.com/nerdcha/Shapely.git && \
cd Shapely && python setup.py install && \
cd /usr/local/src && git clone https://github.com/SciTools/cartopy.git && \
cd cartopy && python setup.py install && \
pip install ibis-framework

# hopefully installing ibis-framework
RUN pip install ibis-framework

# Correct numpy/sklearn version clash
RUN pip install --upgrade --force-reinstall numpy

0 comments on commit a8b9000

Please sign in to comment.