tuning x11-64 platform for aarch64 and pyhton3.9 #302
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello,
First of all, thank you for this project, this is amazing that we can run Python scripts within Godot. I only scratched the surface but it already open many doors, not only for the language per se, but because there tons of libraries that can be now be employed alongside the game engine.
Some weeks ago I tried to run godot-python on Raspberry Pi (Raspberry Pi OS / Debian Buster). It failed because this is not something that is planned in current code, and because aarch64 was only recently added to the underlying python-build-standalone (and it is still a work in progress).
After some time hacking my way through the code, I managed nonetheless to make it work. I added some instructions in the README, the broader picture is detailed in a tutorial here https://labs.ullo.fr/tutorials/python-and-godot-engine-on-a-raspberry-pi-displaying-physiological-signals-with-lsl/ Note that only python 3.9, not 3.8, is supported by python-build-standalone for aarch64. It did not seem to be an issue but I did not test thoroughly every feature of godot-python.
This pull request is not to be merged as is, because I went fast and simply replaced the existing x11-64 platform. Now, others might be interested in running and Godot and Python on a Raspberry (or on other aarch64 linux systems). What would be the best way to integrate those changes? Create a dedicated platform, e.g. x11-64-arm (maybe with an "-experimental" flag)?