Created
February 6, 2016 21:43
-
-
Save matthew-brett/0dbd3747cbd76ea8ca49 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
MANYLINUX_URL=https://nipy.bic.berkeley.edu/manylinux | |
HDF5_VERSION_2=1.8.16 | |
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH | |
# Get hdf5 libraries | |
# curl -LO $MANYLINUX_URL/hdf5-${HDF5_VERSION_1}.tgz | |
curl -LO $MANYLINUX_URL/hdf5-${HDF5_VERSION_2}.tgz | |
tar zxf hdf5-${HDF5_VERSION_2}.tgz | |
PATH=/opt/3.4/bin:$PATH | |
pip install -f $MANYLINUX_URL "numpy==1.7.0" "cython==0.22.1" | |
pip wheel -f $MANYLINUX_URL "h5py==2.4.0" -w /io/unfixed | |
auditwheel repair /io/unfixed/h5py*.whl -w /io/fixed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment