lbry-rocksdb/scripts/make-wheels.sh
breznak a7b7bd80d6 build wheels for py310
trying to get wheels for python=3.10 on Ubuntu 20.04; Seems many folks online would need this. Please review and publish to PyPI when this builds, thank you!
2023-08-25 09:33:25 -04:00

21 lines
380 B
Bash

set -ex
cd lbry-rocksdb
mkdir -p dist
function build_wheel() {
/opt/python/$1/bin/pip install cython wheel
/opt/python/$1/bin/pip wheel . -f . -w dist
}
build_wheel cp37-cp37m
build_wheel cp38-cp38
build_wheel cp39-cp39
build_wheel cp310-cp310
build_wheel pp37-pypy37_pp73
cd dist
for f in ./*linux_*;
do if [ -f $f ]; then auditwheel repair $f -w . ; rm $f; fi;
done
cd -