Showing posts with label osx. Show all posts
Showing posts with label osx. Show all posts
Thursday, April 7, 2011
Pyglet Recommendation
So today for a completely different project I decided to try out pyglet to see how much better or worse it would be for creating a .app or .exe package. Since I do my development on a mac, I'm mostly interested in the .app (although I will make a .exe when possible too). It turns out that the pyglet project is way easier to create a bundle with than the combination of pygame and pyopengl that I've been using on pygauntlet. If I had the time available to me to do a full or partial rewrite to pyglet I would, but pygauntlet depends so much on pygame that I don't see that being feasible. However, if anyone else is looking for a good library to use for rapid prototyping I am in full support of pyglet even after a single day. They even provide examples with setup.py scripts that do both py2app and py2exe.
Wednesday, April 6, 2011
Slow Going Packaging
So I spent a lot of time this evening trying to coerce py2app into packaging up pygauntlet into something I could distribute to people. It kept refusing for one problem or another so I'm calling it for now. It seems to be an issue with PyOpenGL at the moment, although it could just as easily be a problem with pygame. I believe the next step is going to be to try a fresh install of python by fully uninstalling all versions other than the one that came with my OS. If I do that I'll be sure to document which steps I take on the google code wiki so that at the very least, a set of instructions will exist that will allow people to run the game from the source even if it is a little more work than just double-clicking.
Subscribe to:
Posts (Atom)