[Pythonmac-SIG] Packages

Rob Managan managan@llnl.gov
Tue, 25 Aug 1998 09:35:26 -0700


I am working a little on getting the openGL extension working on the mac
with the latest Mesa libraries. One question that comes up is how to work
with packages. Do all the directories involved have to be added to sys.path?

In testing this package I get

from OpenGL.GL import *
ImportError: No module named OpenGL.GL

I have added PyOpenGL-1.5.3:OpenGL and PyOpenGL-1.5.3:OpenGL:GL to the
path. I get the same message whether the second is added or not.

So I guess I am asking whether packages work in the Mac version! Are there
any others out there to test?

*-*-*-*-*-*-*-*-*-*-**-*-*-*-*-*-*-*-*-*-*-
Rob Managan       mailto://managan@llnl.gov
LLNL                      ph:  925-423-0903
P.O. Box 808, L-183       FAX: 925-423-5804
Livermore, CA  94551-0808