electronstudio / raylib-python-cffi

Python CFFI bindings for Raylib
http://electronstudio.github.io/raylib-python-cffi
Eclipse Public License 2.0
142 stars 29 forks source link

Build for ARM/raspberry pi #26

Closed electronstudio closed 3 years ago

electronstudio commented 3 years ago

Someone to do

cd raylib-python-cffi/raylib/static
./build_linux_multi.sh

On RaspPi

akamensky commented 3 years ago

I've tried running on Ubuntu 20.04 64Bit (arch arm64). Where it fails to install Python 3.6. Didn't dig into why it fails yet.

electronstudio commented 3 years ago

I have updated and combined the build scripts. You run them from the top level directory now. Assuming they work on RPI could you please run ./raylib/static/build_multi_nox.sh and then send me the wheels it builds in dist so I can upload them to pypi. I am assuming manylinux2014_armv7l is the correct platform for the raspberry pi. The alternate script ./raylib/static/build_multi.sh will use whatever the platform defaults to but pypi doesnt seem to accept that. Thanks.

electronstudio commented 3 years ago

@simonchatts (or anyone else with a RPI)

electronstudio commented 3 years ago

The build instructions now "work for me" on rpi3 but I'm not going to attempt to publish RPI bInaries with every release because I can't automate it with GitHub actions.