I've used PyOpenGL for years.
However, I'm now trying to install on a stock MacBook Pro.
Stock python on a mac is 2.3. I know it's fun to use new versions of software, but things like PyOpenGL should work without having to upgrade standard software like Python.
The old 2.0.1.09 branch doesn't come close to building.
The new 3.0.0a6 branch builds and installs an "egg", but it is now dependent on ctypes, and neither "easy_install" nor a "python setup.py install" flagged this dependency.
ctypes is built into 2.5 python but is supposed to be available for 2.3 and I don't mind installing it. However, based on google cache information, it looks like python.net (starship) has been down for about three weeks, so "easy_install" fails when trying to install ctypes.
Ctypes can be installed from a version on sourceforge, but that install doesn't pass the "python setup.py test" as there is an error in "gestalt("sysv")". (-5551 'undefined selector was passed to Gestalt').
It doesn't even import.
So while ctypes is the right way for PyOpenGL to go, getting away from the SWIG headaches of years past, it is only as good as the weakest link, which would appear to be ctypes at this point.
Now I'm off to the ctypes project to see if I can track down that failure.
Logged In: NO
I also wanted to use PyOpenGL with the stock python 2.3 on Mac.
I used PyOpenGL-2.0.2.01. To get it to build:
1. Edit config/darwin.cfg; find the line that starts with "include_dirs=" and delete "/System/Library/Frameworks/Kernel.framework/Headers:" from this line.
2. In a Terminal, type:
export CFLAGS="-arch i386 -arch ppc" (this builds a universal binary)
sudo -s (be root)
python setup.py install (build as normal)