wxWidgets / Phoenix

wxPython's Project Phoenix. A new implementation of wxPython, better, stronger, faster than he was before.
http://wxpython.org/
2.32k stars 516 forks source link

wxPython Raspberry Pi Wheels #1546

Open Metallicow opened 4 years ago

Metallicow commented 4 years ago

wxPython Raspberry Pi Wheels

This isn't an issue, but is more informational for those looking for stuff.

Anyhow I have managed to build from pypi sources a *.whl, .... which is awesome for those that are looking for one, since piwheels doesn't provide one at the moment. ...and since probably the build robots can't build on arm arch at the moment. ... and cause building anything on a raspberry pi takes an ass load of time to do manually.

Here is my raspberry pi build repo for wxPy: Note - Github doesn't like uploading files over 100MB, so that is why the whl files are repacked as .zip and .7z The normal whl as a zip is like 98-101 MB therefore github complains. https://github.com/Metallicow/piwheels

Edit: This should work on new Raspberry Pi Raspbian "Buster", but may not work on all newer versions. Do not test on less than a RPi 1

@RobinD42 If you would like any of the raspberry pi builds to host on your site, Where should we send a official build in the meantime...(for example when you release a source version on pypi) How far off is the build bots from being able to build one of theses....? These are a pain in the neck to publish apparently, and take a bit of time, ... so should we try to continue to hack our way around upload limits or find some other way to host manual made stuff in the meantime?

BTW, I am NOT volunteering to be a build bot. haha tau

RobinD42 commented 4 years ago

The best way to integrate a new linux build into the current system is to create a Docker image that can perform the build. I haven't done any investigation or experimenting yet to see if it's possible to run an ARM-based image on a x86_64 Docker host (maybe with an emulation layer inside the container or something.) If you're up to working on that it would be a big help. See the scripts and Dockerfiles in wxPython's docker folder on master for more info and examples.

RobinD42 commented 4 years ago

Google gave me these promising links:

DietmarSchwertberger commented 4 years ago

Maybe it helps: I have a Cosmo Communicator which has a Debian Linux as optional operating system. I was surprised that wxPython and wxGlade packages for this are readily available. They're not the latest, but for most purposes wxPython 4.0.4 should be OK. Maybe it's less work to add wxPython to the Debian / Raspbian build infrastructure.

Metallicow commented 4 years ago

Just for reference, I have one of the original free pre kickstarter boards that was free to developers. This will NOT work on those boards. Might be a dated OS or hardware issue.