Re: py2exe and OpenGL problem

2005-09-25 Thread Mike C. Fletcher
Line 13:17 of OpenGL.__init__.py, replace with: try: filename = os.path.join(os.path.dirname(__file__), 'version') __version__ = string.strip(open(filename).read()) except Exception, err: __version__ = '2.0.2.02' HTH, Mike [EMAIL PROTECTED] wrote: >I am using the new py2exe and python 24. When

py2exe and OpenGL problem

2005-09-25 Thread [EMAIL PROTECTED]
I am using the new py2exe and python 24. When I run my setup.py, the dist seems to generate just fine. However run I run the resulting exe, I get an error: IOError: [Errno 2] No such file or directory 'c:\\app\\dist\\library.zip\\OpenGL\\version' Now I've tried the recommended route with older py