pyjnius/.github/actions/scripts/manylinux_entrypoint.sh

19 lines
329 B
Bash
Executable File

#!/usr/bin/env bash
target=$1
echo $target
yum install -y java-1.7.0-openjdk-devel
ls /opt/python/$target/
python=/opt/python/$target/bin/python
$python -m pip install -U setuptools cython
$python setup.py bdist_wheel
for whl in dist/*.whl; do
auditwheel repair $whl
done
rm dist/*-linux_*.whl
mv wheelhouse/*.whl dist/