#6 Demonstration of py2exe with PyOpenGL

Demo (1)

A demonstration/document describing how to create
PyOpenGL exe's with py2exe would be useful for some
users (this request is based on a post to the pygame
mailing list).


  • Tarn Weisner Burton

    Logged In: YES

    This looks like it works out of the box, but its a bit
    greedy about the modules that it includes due to the fact
    that OpenGL/__init__.py imports pygame, wxPython, etc. to
    support the info script. I've fixed this in CVS.

    Users will run into problems if their script uses both
    OpenGL.GL and OpenGL.GLU since py2exe just tosses all pyds
    into same directory and a name collision will then occur
    since their names are both __init___.pyd

  • Nobody/Anonymous

    Logged In: NO

    would be realllllyyy nice, if that could be donw

  • Mike C. Fletcher

    • assigned_to: twburton --> mcfletch
    • status: open --> closed-accepted
  • Mike C. Fletcher

    Logged In: YES

    Okay, just checked in a document to the website project that
    explains basically the same thing as I just posted to the
    PyOpenGL users list, which is functional recipes for both
    PyOpenGL and OpenGLContext applications using py2exe.

    Tested with GLUT, GL, GLU, Togl, and
    OpenGLContext.wxtestingcontext, which should cover most
    common uses likely to cause problems.


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks