#!/bin/bash #assumes image based on manylinux2014 + extras (cmake3, libcrypto, etc) set -ex /opt/python/cp39-cp39/bin/python ./continuous-delivery/update-version.py /opt/python/cp39-cp39/bin/python -m build auditwheel repair --plat manylinux2014_x86_64 dist/awscrt-*cp39*.whl /opt/python/cp310-cp310/bin/python -m build auditwheel repair --plat manylinux2014_x86_64 dist/awscrt-*cp310*.whl /opt/python/cp311-cp311/bin/python -m build auditwheel repair --plat manylinux2014_x86_64 dist/awscrt-*cp311*.whl # Don't need to build wheels for Python 3.12, it works with the 3.11 stable ABI wheel # We are using the Python 3.13 stable ABI from Python 3.13 onwards because of deprecated functions. /opt/python/cp313-cp313/bin/python -m build auditwheel repair --plat manylinux2014_x86_64 dist/awscrt-*cp313*.whl # The free-threaded build does not currently support the Limited C API or the stable ABI. Built them separately /opt/python/cp314-cp314t/bin/python -m build auditwheel repair --plat manylinux2014_x86_64 dist/awscrt-*cp314t*.whl rm dist/*.whl cp -rv wheelhouse/* dist/ #now you just need to run twine (that's in a different script)