This repository has been archived on 2025-06-21. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
raylib-python-cffi/raylib/build_multi_linux.sh

24 lines
444 B
Bash
Executable file

#!/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/_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