From 2748334ffda8ec1694437ad49264f4275ebb61af Mon Sep 17 00:00:00 2001 From: Charles Leifer Date: Tue, 22 Dec 2020 15:09:30 +0000 Subject: [PATCH] 0.4.5 Add wheel for 3.9. --- build-scripts/_build_wheels.sh | 4 ++++ setup.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/build-scripts/_build_wheels.sh b/build-scripts/_build_wheels.sh index 1bd5ba6..879ae65 100755 --- a/build-scripts/_build_wheels.sh +++ b/build-scripts/_build_wheels.sh @@ -52,6 +52,9 @@ PY37="/opt/python/cp37-cp37m/bin" PY38="/opt/python/cp38-cp38/bin" "${PY38}/python" setup.py build_static +PY39="/opt/python/cp39-cp39/bin" +"${PY39}/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 @@ -59,6 +62,7 @@ sed -i "s|name=PACKAGE_NAME,|name='sqlcipher3-binary',|g" setup.py "${PY36}/pip" wheel /io/sqlcipher3 -w /io/wheelhouse "${PY37}/pip" wheel /io/sqlcipher3 -w /io/wheelhouse "${PY38}/pip" wheel /io/sqlcipher3 -w /io/wheelhouse +"${PY39}/pip" wheel /io/sqlcipher3 -w /io/wheelhouse for whl in /io/wheelhouse/*.whl; do auditwheel repair "$whl" -w /io/wheelhouse/ diff --git a/setup.py b/setup.py index a0ccf02..57117da 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ from setuptools import Extension # If you need to change anything, it should be enough to change setup.cfg. PACKAGE_NAME = 'sqlcipher3' -VERSION = '0.4.4' +VERSION = '0.4.5' # define sqlite sources sources = [os.path.join('src', source)