mirror of
https://github.com/hedge-dev/XenonRecomp.git
synced 2025-07-26 06:53:56 +00:00
Initial Commit
This commit is contained in:
16
thirdparty/capstone/bindings/python/build_wheel.sh
vendored
Normal file
16
thirdparty/capstone/bindings/python/build_wheel.sh
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
set -e -x
|
||||
|
||||
cd bindings/python
|
||||
if [ -f /opt/python/cp311-cp311/bin/python3 ];then
|
||||
# Use manylinux Python
|
||||
/opt/python/cp311-cp311/bin/python3 -m pip install wheel
|
||||
/opt/python/cp311-cp311/bin/python3 setup.py bdist_wheel
|
||||
else
|
||||
python3 -m pip install wheel
|
||||
python3 setup.py bdist_wheel
|
||||
fi
|
||||
|
||||
cd dist
|
||||
auditwheel repair *.whl
|
||||
mv -f wheelhouse/*.whl .
|
Reference in New Issue
Block a user