This commit is contained in:
richard 2021-06-12 19:55:01 +01:00
parent 1c2ca0b3a5
commit 0ceae3c986
2 changed files with 31 additions and 4 deletions

View file

@ -0,0 +1,24 @@
#!/usr/bin/env bash
if ! command -v pyenv &> /dev/null
then
echo "Pyenv required: https://github.com/pyenv/pyenv-installer"
exit
fi
pyenv update
function build() {
echo "Building for Python $1"
pyenv install -s $1
pyenv global $1
pip3 install cffi
pip3 install wheel
rm -rf raylib/static/_raylib_cffi.* build
python setup.py bdist_wheel --plat-name manylinux2014_x86_64
}
build 3.9.5
build 3.8.10
build 3.7.10
build 3.6.13