[ pyopengl-Bugs-1227249 ] documentation is incorrect

"SourceForge.net" <[email protected]> Wed, 01 Jul 2009 17:42:51 +0000
Newsgroups gmane.comp.python.opengl.devel
Message-ID <[email protected]>
Bugs item #1227249, was opened at 2005-06-24 20:49
Message generated for change (Comment added) made by nobody
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105988&aid=1227249&group_id=5988

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: doc
Group: None
Status: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: Laxori666 (laxori666)
Assigned to: Mike C. Fletcher (mcfletch)
Summary: documentation is incorrect

Initial Comment:
The documentation for py2exe instructions says that you
should stop py2exe from including OpenGL and then
include it manually later. I tried this and had tons of
hassle. Then I simply removed the --excludes=OpenGL
line and my program worked perfectly. I think the
documentation should be modified to reflect the fact
that py2exe now indeed does work fine with OpenGL's
import hooks.

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2009-07-01 17:42

Message:
For the record, I tested it and the generated executable works if PyOpenGL
isn't installed.

----------------------------------------------------------------------

Comment By: BrammO (bgeron)
Date: 2009-06-30 20:53

Message:
I downloaded PyOpenGL and py2exe this week, used the PyOpenGL
documentation[1] to get it working, but it failed. Also Laxori666's tip of
not doing anything special didn't work. After a few hours of trying, I
found out a workaround for the strange errors that appeared:

- add the current directory to sys.path
- copy the whole PyOpenGL package directory to the dist/ directory, and
ship it with the binary

 I explained it on the py2exe wiki[2]. I'm not entirely sure if it works
on machines where PyOpenGL wasn't installed, but I have good confidence. If
not, I'll comment again.

It would be cool if that page was linked to, or the information merged
with the PyOpenGL documentation, to save others some clueless hours of
trying to get anything working at all. :)

If you want more information on the errors that appeared, I can give you
them in a few days.

[1]: http://pyopengl.sourceforge.net/documentation/py2exe.html
[2]: http://www.py2exe.org/index.cgi/PyOpenGL

----------------------------------------------------------------------

Comment By: Mike C. Fletcher (mcfletch)
Date: 2005-07-16 23:56

Message:
Logged In: YES 
user_id=34901

Okay, have added a note to the py2exe page to this effect.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105988&aid=1227249&group_id=5988

------------------------------------------------------------------------------
_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net