mirror of
https://github.com/msgpack/msgpack-python.git
synced 2025-10-30 00:50:53 +00:00
20 lines
424 B
Bash
20 lines
424 B
Bash
#!/bin/bash
|
|
DOCKER_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
source "$DOCKER_DIR/shared.env"
|
|
|
|
set -e -x
|
|
|
|
ARCH=`uname -p`
|
|
echo "arch=$ARCH"
|
|
|
|
for V in "${PYTHON_VERSIONS[@]}"; do
|
|
PYBIN=/opt/python/$V/bin
|
|
rm -rf build/ # Avoid lib build by narrow Python is used by wide python
|
|
$PYBIN/python setup.py bdist_wheel
|
|
done
|
|
|
|
cd dist
|
|
for whl in *.whl; do
|
|
auditwheel repair "$whl"
|
|
rm "$whl"
|
|
done
|