[Pythonmac-SIG] Using distutils with XCode

Chris Barker Chris.Barker at noaa.gov
Sun Oct 9 20:52:05 CEST 2005


Paul Kinnane wrote:

> The python extension I am trying to compile is for a 3d graphics
> animation package - which has a Python2.2 (carbon) interface.

If it's carbon under OS-X, then it could be either Mach-O, which you 
should be able to do with gcc. However if the binary can run under both 
OS-9 and OS-X, then it's CFM, and I don't think gcc can do that, so 
you'd need Cade Warrior or MPW. Honestly, I don't remember how the 2.2 
MacPython was built, and I'm getting out of my depth. Can the developer 
of the program you're writing the plug in for give you any help? how do 
they compile it?

You can get some older MacPython distributions here:

http://homepages.cwi.nl/~jack/macpython/download.html

Which I suspect you already know, but it won't hurt.

For what it's worth, I remember it not being all that hard to compile 
modules for olde Mac Pythons...jsut the usual adding the right paths for 
the right headers and libs.

-Good luck!

-Chris



More information about the Pythonmac-SIG mailing list