[Pythonmac-SIG] pyopengl and OS X 10.2.3

Bob Ippolito bob@redivi.com
Wed, 12 Feb 2003 17:53:22 -0500


You can download the patch tarball from here:
http://sourceforge.net/tracker/ 
index.php?func=detail&aid=685142&group_id=5988&atid=305988

There's more info about what the patch changes and some useful  
information regarding how to use it here:
http://sourceforge.net/tracker/ 
index.php?func=detail&aid=544084&group_id=5988&atid=105988

make *sure* that you delete the __init__.i files from interfaces/*/  
cause if they compile it's bad news for apple python 2.2.

On Wednesday, Feb 12, 2003, at 17:33 America/New_York, boyle5@llnl.gov  
wrote:

> Bob,
>
> Thanks very much for the information.
>
> Is there any way of getting your patches , other than the pyopengl SF  
> site?
> The last patch(as yet unincoporated) for OSX dates back to last June!   
> It appears that there could be a long wait for this patch to be  
> applied.
>
> The heads up on Swig version is very useful, I burned an entire  
> afternoon because of this when I built pyopengl on my Linux box.
>
> Jim
>
> On Wednesday, February 12, 2003, at 09:45 AM, Bob Ippolito wrote:
>>
>> I just sent a patch to pyopengl's sourceforge page yesterday that  
>> gets PyOpenGL working with (apple's stock) python 2.2, my patch  
>> integrates jack's older patch and adds some additional niceness.  In  
>> addition to whatever Jack fixed, my latest patch works around the  
>> glutInit problem where the working directory changes, the fact that  
>> OS X requires ranlib on static libraries (by poking inside distutils  
>> nondestructively, potential for 2.3 to be different about this), and  
>> also works around the bug in the 2.2 dynamic loader where two C  
>> extensions can't have the same filename (argh!) by renaming all of  
>> the __init___.so's to PKGNAME__init___.so.. etc, and creating  
>> __init__.py files that do "from PKGNAME__init__ import *" to import  
>> the shadow file and get everything out of it.
>>
>> Presumably, it would also work with Python 2.3.
>>
>> Make sure to have Swig 1.3.13 installed, the version is very  
>> important..  Jack figured that one out :)
>>
>> -bob
>>
>
>
> _______________________________________________
> Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig