punyverse/.travis-wheels.sh
2018-08-22 17:00:41 -04:00

18 lines
441 B
Bash
Executable file

#!/bin/bash
set -e -x
# Install a system package required by our library
yum install -y atlas-devel mesa-libGL-devel mesa-libGLU-devel
# Compile wheels
for PYBIN in /opt/python/*/bin; do
"${PYBIN}/pip" install -r /io/dev-requirements.txt
"${PYBIN}/pip" wheel /io/ -w wheelhouse/
done
# Bundle external shared libraries into the wheels
for whl in wheelhouse/punyverse*.whl; do
auditwheel repair "$whl" -w /io/wheelhouse/
done