py2exe with opengl

Thomas Heller theller at python.net
Mon Oct 18 04:54:17 EDT 2004


Szucs Szabolcs Laszlo <kotee at elte.hu> writes:

> Hello,
>
> I do `python setup.py py2exe --exclude=OpenGL --includes=Tkinter'.
> It runs, OK. No error messages. I copy the whole
> OpenGL dir. next to the .exe file.
>
> When I run the .exe, it don't find the OpenGL module. Why?

I guess you have to insert the directory of the .exe into sys.path -
py2exe doesn't do this itself.

Thomas



More information about the Python-list mailing list