diff --git a/build-scripts/_build_wheels.sh b/build-scripts/_build_wheels.sh index 879ae65..1de8da0 100755 --- a/build-scripts/_build_wheels.sh +++ b/build-scripts/_build_wheels.sh @@ -55,6 +55,9 @@ PY38="/opt/python/cp38-cp38/bin" PY39="/opt/python/cp39-cp39/bin" "${PY39}/python" setup.py build_static +PY310="/opt/python/cp310-cp310/bin" +"${PY310}/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 @@ -63,6 +66,7 @@ sed -i "s|name=PACKAGE_NAME,|name='sqlcipher3-binary',|g" setup.py "${PY37}/pip" wheel /io/sqlcipher3 -w /io/wheelhouse "${PY38}/pip" wheel /io/sqlcipher3 -w /io/wheelhouse "${PY39}/pip" wheel /io/sqlcipher3 -w /io/wheelhouse +"${PY310}/pip" wheel /io/sqlcipher3 -w /io/wheelhouse for whl in /io/wheelhouse/*.whl; do auditwheel repair "$whl" -w /io/wheelhouse/ diff --git a/build-scripts/build.sh b/build-scripts/build.sh index 5b7c155..84898bf 100755 --- a/build-scripts/build.sh +++ b/build-scripts/build.sh @@ -22,6 +22,6 @@ cp "sqlcipher/sqlite3.c" sqlcipher3/ cp "sqlcipher/sqlite3.h" sqlcipher3/ # Create the wheels and strip symbols to produce manylinux wheels. -docker run -it -v $(pwd):/io quay.io/pypa/manylinux1_x86_64 /io/_build_wheels.sh +docker run -it -v $(pwd):/io quay.io/pypa/manylinux_2_24_x86_64 /io/_build_wheels.sh sudo rm ./wheelhouse/*-linux_*