mirror of
https://github.com/hedge-dev/XenonRecomp.git
synced 2025-05-20 17:02:07 +00:00
16 lines
363 B
Bash
16 lines
363 B
Bash
![]() |
#!/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 .
|