ThomasThanks,In other news, I hear that Ubuntu 17.04 will include Flatpak in a default install, which seems like a good sign that I'm not wasting my time. ;-)And here's the diff for Luke's Pyweek game, Solarflair, which needed a few tweaks:I've updated the two example games I was working with to build with this tool. Here's the diff for Solarwolf, which didn't need any changes in the code:My adventures mixing pygame and Flatpak have got a bit further. I now have a crude tool which can build a working Flatpak package from a config file describing your game. See the instructions here:I want to emphasise that this is very unpolished at the moment. If you're interested in distributing games to Linux users, please try it out, but expect bugs! I hope it will be a stepping-stone to a more general tool to package Python applications using Flatpak, but I'm still thinking about how that will work, and I want to get some more experience of the Flatpak system.
https://github.com/takluyver/pygame-flatpak-test#readme
https://github.com/pygame/solarwolf/compare/master... takluyver:flatpak
https://github.com/lukevp/pyweek23/compare/master... takluyver:flatpak