From 030818f44840fbbf443e1bcb9f35f55b074a610f Mon Sep 17 00:00:00 2001 From: Charles Leifer Date: Thu, 30 Jan 2020 14:23:04 +0000 Subject: [PATCH] 0.4.1 --- build-scripts/_build_wheels.sh | 4 ++++ build-scripts/build.sh | 2 ++ setup.py | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/build-scripts/_build_wheels.sh b/build-scripts/_build_wheels.sh index 84d7552..1bd5ba6 100755 --- a/build-scripts/_build_wheels.sh +++ b/build-scripts/_build_wheels.sh @@ -49,12 +49,16 @@ PY36="/opt/python/cp36-cp36m/bin" PY37="/opt/python/cp37-cp37m/bin" "${PY37}/python" setup.py build_static +PY38="/opt/python/cp38-cp38/bin" +"${PY38}/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 "${PY36}/pip" wheel /io/sqlcipher3 -w /io/wheelhouse "${PY37}/pip" wheel /io/sqlcipher3 -w /io/wheelhouse +"${PY38}/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 29092b4..5b7c155 100755 --- a/build-scripts/build.sh +++ b/build-scripts/build.sh @@ -23,3 +23,5 @@ 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 + +sudo rm ./wheelhouse/*-linux_* diff --git a/setup.py b/setup.py index 2b1cb3c..1bd7bb7 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.0' +VERSION = '0.4.1' # define sqlite sources sources = [os.path.join('src', source)