Merge pull request #8 from iFA88/patch

Patch
This commit is contained in:
iFA 2021-08-26 12:47:19 +02:00 committed by GitHub
commit 628b64ddbf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 22 additions and 1 deletions

2
.gitmodules vendored
View file

@ -1,3 +1,3 @@
[submodule "src/rocksdb"] [submodule "src/rocksdb"]
path = src/rocksdb path = src/rocksdb
url = https://github.com/facebook/rocksdb.git url = https://github.com/facebook/rocksdb

20
scripts/make-wheels.sh Normal file
View file

@ -0,0 +1,20 @@
set -ex
mkdir -p dist
make
function build_wheel() {
/opt/python/$1/bin/pip install cython
/opt/python/$1/bin/pip wheel . -f . -w dist
}
build_wheel cp37-cp37m
build_wheel cp38-cp38
build_wheel cp39-cp39
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 -

1
src/rocksdb Submodule

@ -0,0 +1 @@
Subproject commit 27e593fbe10efa5a562ca79b1939ffb69d25163f