.manylinux-install.sh 536 B

1234567891011121314151617181920
  1. #!/usr/bin/env bash
  2. set -e -x
  3. # Compile wheels
  4. for PYBIN in /opt/python/*/bin; do
  5. if [[ "${PYBIN}" == *"cp27"* ]] || \
  6. [[ "${PYBIN}" == *"cp34"* ]] || \
  7. [[ "${PYBIN}" == *"cp35"* ]] || \
  8. [[ "${PYBIN}" == *"cp36"* ]]; then
  9. "${PYBIN}/pip" install -e /io/
  10. "${PYBIN}/pip" wheel /io/ -w wheelhouse/
  11. rm -rf /io/build /io/*.egg-info
  12. fi
  13. done
  14. # Bundle external shared libraries into the wheels
  15. for whl in wheelhouse/zope.interface*.whl; do
  16. auditwheel repair "$whl" -w /io/wheelhouse/
  17. done