rewrite build system to build separate binary wheels for each platform. only tested on Linux so far. should fix #25.

This commit is contained in:
richard 2021-06-12 18:42:39 +01:00
parent 76121e34a9
commit 9eddc4e528
24 changed files with 148 additions and 25686 deletions

22
raylib/static/build_multi.sh Executable file
View file

@ -0,0 +1,22 @@
#!/usr/bin/env bash
if ! command -v pyenv &> /dev/null
then
echo "Pyenv required: https://github.com/pyenv/pyenv-installer"
exit
fi
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
}
build 3.9.5
build 3.8.10
build 3.7.10
build 3.6.13