Build wheels for 3.11

This commit is contained in:
Charles Leifer 2022-12-13 16:51:54 -06:00
parent 673f4c940c
commit 3f8b297958

View file

@ -58,6 +58,9 @@ PY39="/opt/python/cp39-cp39/bin"
PY310="/opt/python/cp310-cp310/bin" PY310="/opt/python/cp310-cp310/bin"
"${PY310}/python" setup.py build_static "${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 # Replace the package name defined in setup.py so we can push this to PyPI
# without stomping on the source dist. # without stomping on the source dist.
sed -i "s|name=PACKAGE_NAME,|name='sqlcipher3-binary',|g" setup.py 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 "${PY38}/pip" wheel /io/sqlcipher3 -w /io/wheelhouse
"${PY39}/pip" wheel /io/sqlcipher3 -w /io/wheelhouse "${PY39}/pip" wheel /io/sqlcipher3 -w /io/wheelhouse
"${PY310}/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 for whl in /io/wheelhouse/*.whl; do
auditwheel repair "$whl" -w /io/wheelhouse/ auditwheel repair "$whl" -w /io/wheelhouse/