Posts Tagged ‘py2exe’
PyOpenGL + Py2Exe Woes
Ok, I’ve been trying to make an executable of my game all morning but I can’t make it work. PyOpenGL 3.x has always been a problem because of the setuptools, but in 3.0.0b1 I had a working solution, sort of. Now, however, I can’t get that to work and am just running into this error over and over:
“RuntimeError: Unable to find an implementation for the ‘win32′ (‘nt’) platform”
The only things I could find online are similar problems with no responses or solutions.
Does anybody have any advice?
Introductions, py2exe and cx_Freeze for the Linux-centric
Hello all … I’m a LD first-timer, intending to give it a shot this time around. I suspect I’ll only really get ~24 hours of actual LD-time, due to inconvenient timezones clashing with the “Day Job”(tm) … but I’m prepared to give it a red hot go. I’ll almost certainly be using Pygame (1.8) and Rabbyt (0.8.1) … unless for some reason the theme makes me want to write a text adventure
Since I typically develop on Linux, I’ve done some preparation by making sure I can actually produce Windows executables (the catch: still requires a Windows installation somewhere). My personal py2exe and cx_Freeze ‘tutorial’ is here … it’s actually painfully detailed for something that turned out much simpler than I expected. It would be great to compare notes on crossplatform Python/Pygame experiences/successes/pitfalls with any other Ludumdarers that code on Linux.
Basecamp Chain Reaction – binary version
Finally I built a binary of the game with py2exe. I had trouble with pyopengl since it used a .egg file. I dont know how it was fixed, but Samiljan supplied me with a modified source code file for pyopengl and it works now. A few words to py2exe authors: include .egg support.
I was tempted to add game pad support, add sound and tweak the game play more. I dont think thats fair though =p
download – binary executable for windows
download – multi-platform source and art files
Py2EXE version
Here’s a packaged version of my code for all you Windoze folk.
link
Sorry Mac Daddies, no binary soup for you.

