mirror of
https://github.com/quantum5/punyverse.git
synced 2025-04-24 13:11:57 -04:00
16 lines
341 B
Bash
16 lines
341 B
Bash
|
#!/bin/bash
|
||
|
set -e -x
|
||
|
|
||
|
# Install a system package required by our library
|
||
|
yum install -y atlas-devel
|
||
|
|
||
|
# Compile wheels
|
||
|
for PYBIN in /opt/python/*/bin; do
|
||
|
"${PYBIN}/pip" wheel /io/ -w wheelhouse/
|
||
|
done
|
||
|
|
||
|
# Bundle external shared libraries into the wheels
|
||
|
for whl in wheelhouse/*.whl; do
|
||
|
auditwheel repair "$whl" -w /io/wheelhouse/
|
||
|
done
|