I'm trying to use py2app on a script that uses OpenGL. I've been able to make a py2exe wrapper of the script, which works fine. I don't know my way around the mac environment quite as well, however.
When I try to run my binary, I get an error, saying ImportError: No module named OpenGL.GL looking at the output of my py2app invocation, I see that it notices I'm using PyGame, because there's a line "*** using recipe: pygame ***", but I don't see any reference to OpenGL. I'm running on a PowerPC Mac, OSX 10.4.9 Python 2.5 OpenGL 3.0.0a6 pyapp 0.3.6 pygame 1.7.1release I made a simple test case zip file that illustrates my problem here: http://www.bigdicegames.com/Code/Samples/py2appTest.zip I notice that the documentation mentions that py2app will try to make a universal binary by default, and I think I turned that off with the LSPrefersPPC flag. I'm unclear if the documentation is trying to tell me that eggs are unsupported - my OpenGL module is PyOpenGL-3.0.0a6-py2.5.egg, which is a zip file. I installed that using easy_install, but I also tried removing that and building from source, which also created an egg. Should I avoid installing zipped eggs? Is there a clean way to convert a directory full of zipped eggs into non-zipped installations? I showed an acquaintance the original project (not the simple test case), and he was able to use py2app on his intel Mac just fine, creating an app from my program that seems to work for non-python users. Any assistance will be appreciated. -Dave LeCompte _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig