Some of you might be familiar with LÖVE 2D, a game creation toolkit that uses Lua and SDL2. The idea behind it is pretty neat -- you unpack a pre-baked executable that has the Lua interpreter and all the needed .DLLs, drop your code into it, and It Just Works.
I've been putting together something similar for Pyglet, called Pyggy. It's a self-contained copy of the Python 3.5 interpreter (3.6 coming REAL SOON NOW!!!), with some bootstrap code in a bundled .exe. You put your game into a subfolder, and ensure that it has an __init__.py with a main() function in the top level directory. When you run the .exe, it boots the game -- or, failing that, a splash screen that says "No game loaded!". Right now I'm using this with a heavily customized version of Pyglet that I created on my own. It includes some .pyd modules to accelerate certain functions like sprites and the draw loop. But I can just as easily bake a version that uses stock Pyglet. I'm thinking a project like this would be philosophically distinct from PyInstaller (which I love, by the way). With this, you'd unpack it and build your game inside it, and add dependencies by hand as needed. Maybe later on you could push a button and have it "bake" a copy for distribution that would, say, slim down the standard library and remove everything else that didn't need to be there, but right now the idea is to provide an environment that you can unpack and start building a Pyglet app in right away. I don't have anything I'm ready to share yet, but I thought I'd toss the idea up there and see what people think. The working title is "Pyggy". -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/pyglet-users. For more options, visit https://groups.google.com/d/optout.
