Switch to manylinux 2_24 and add wheel for 3.10

This commit is contained in:
Charles Leifer 2021-10-27 13:39:41 +00:00
parent 9c2569771f
commit acf1888bba
2 changed files with 5 additions and 1 deletions

View file

@ -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/