diff --git a/build-wheels.sh b/build-wheels.sh index 6d13e32f..a59f8625 100755 --- a/build-wheels.sh +++ b/build-wheels.sh @@ -4,20 +4,20 @@ set -e -x yum install -y hdf5 freetype freetype-devel pkgconfig libpng-devel for PYBIN in /opt/python/*/bin; do - if [[ $PYBIN == *"27"* ]] || [[ $PYBIN == *"35"* ]] || [[ $PYBIN == *"36"* ]] || [[ $PYBIN == *"37"* ]]; then + if [[ ! $PYBIN == *"34"* ]]; then "${PYBIN}/pip" install -r /io/dev-requirements.txt "${PYBIN}/pip" wheel /io/ -w wheelhouse/ fi done # Bundle external shared libraries into the wheels -for whl in wheelhouse/*.whl; do +for whl in wheelhouse/phonopy*.whl; do auditwheel repair "$whl" --plat $PLAT -w /io/wheelhouse/ done # Install packages and test for PYBIN in /opt/python/*/bin/; do - if [[ $PYBIN == *"27"* ]] || [[ $PYBIN == *"35"* ]] || [[ $PYBIN == *"36"* ]] || [[ $PYBIN == *"37"* ]]; then + if [[ ! $PYBIN == *"34"* ]]; then "${PYBIN}/pip" install phonopy --no-index -f /io/wheelhouse (cd "$HOME"; "${PYBIN}/nosetests" phonopy) fi