From 1a4f955c8533aebc26e54860fc2d88020b4d9010 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniele=20Vigan=C3=B2?= Date: Tue, 13 Dec 2016 13:57:08 +0100 Subject: [PATCH] Add pyproj wheel --- wheels/build-wheels-docker.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/wheels/build-wheels-docker.sh b/wheels/build-wheels-docker.sh index b2e6fe5e..8ead8881 100755 --- a/wheels/build-wheels-docker.sh +++ b/wheels/build-wheels-docker.sh @@ -40,8 +40,10 @@ cd $OQ_PREFIX/src # Get sources curl -Lo libgeos-3.5.0.tar.gz https://github.com/libgeos/libgeos/archive/3.5.0.tar.gz curl -LO https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.8.17/src/hdf5-1.8.17.tar.gz +curl -Lo proj-4.8.0.tar.gz https://github.com/OSGeo/proj.4/archive/4.8.0.tar.gz curl -Lo py-h5py-2.6.0.tar.gz https://pypi.python.org/packages/source/h/h5py/h5py-2.6.0.tar.gz curl -Lo py-shapely-1.5.13.tar.gz https://pypi.python.org/packages/source/S/Shapely/Shapely-1.5.13.tar.gz +curl -Lo py-pyproj-1.9.5.1.tar.gz https://github.com/jswhit/pyproj/archive/v1.9.5.1rel.tar.gz curl -Lo py-psutil-3.4.2.tar.gz https://pypi.python.org/packages/source/p/psutil/psutil-3.4.2.tar.gz curl -Lo py-pyyaml-3.12.tar.gz http://pyyaml.org/download/pyyaml/PyYAML-3.12.tar.gz @@ -67,6 +69,16 @@ make -j $NPROC make install cd .. +tar xzf proj-4.8.0.tar.gz +cd proj.4-4.8.0 +# Workaround for an autogen.sh bug +./autogen.sh || true +./autogen.sh +./configure --prefix=$OQ_PREFIX +make -j $NPROC +make install +cd .. + mkdir py && cd py for i in ../py*.tar.gz; do tar xzf $i