From 3f8b297958e6a50557687cc238dbb241ae71932c Mon Sep 17 00:00:00 2001 From: Charles Leifer Date: Tue, 13 Dec 2022 16:51:54 -0600 Subject: [PATCH] Build wheels for 3.11 --- build-scripts/_build_wheels.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build-scripts/_build_wheels.sh b/build-scripts/_build_wheels.sh index 1de8da0..1f3d986 100755 --- a/build-scripts/_build_wheels.sh +++ b/build-scripts/_build_wheels.sh @@ -58,6 +58,9 @@ PY39="/opt/python/cp39-cp39/bin" PY310="/opt/python/cp310-cp310/bin" "${PY310}/python" setup.py build_static +PY311="/opt/python/cp311-cp311/bin" +"${PY311}/python" setup.py build_static + # Replace the package name defined in setup.py so we can push this to PyPI # without stomping on the source dist. sed -i "s|name=PACKAGE_NAME,|name='sqlcipher3-binary',|g" setup.py @@ -67,6 +70,7 @@ sed -i "s|name=PACKAGE_NAME,|name='sqlcipher3-binary',|g" setup.py "${PY38}/pip" wheel /io/sqlcipher3 -w /io/wheelhouse "${PY39}/pip" wheel /io/sqlcipher3 -w /io/wheelhouse "${PY310}/pip" wheel /io/sqlcipher3 -w /io/wheelhouse +"${PY311}/pip" wheel /io/sqlcipher3 -w /io/wheelhouse for whl in /io/wheelhouse/*.whl; do auditwheel repair "$whl" -w /io/wheelhouse/