This commit is contained in:
Charles Leifer 2020-01-30 14:23:04 +00:00
parent 4c077cdef6
commit 030818f448
3 changed files with 7 additions and 1 deletions

View file

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