commit
628b64ddbf
3 changed files with 22 additions and 1 deletions
2
.gitmodules
vendored
2
.gitmodules
vendored
|
@ -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
20
scripts/make-wheels.sh
Normal 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
1
src/rocksdb
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 27e593fbe10efa5a562ca79b1939ffb69d25163f
|
Loading…
Reference in a new issue