C extension on MacPython?

Greg Ewing (using news.cis.dfn.de) me at privacy.net
Thu Feb 13 20:20:12 EST 2003


Just wrote:

> If you mean the MacOS9-compatible version, you need a fairly recent copy 
> on CodeWarrior (Pro 6 or 7 I think).


Actually, you don't strictly need that recent a version --
I've successfully built extension modules for MacPython 2.2
using CodeWarrior Pro 3 -- but you might have to build the
project file by hand. It's not really all that hard.

Another alternative might be MPW. The version of Pyrex I run
at home on my Mac uses the MPW-tool versions of the CodeWarrior
compiler and linker, driven via ToolServer and AppleEvents
from the Pyrex compiler... sounds hairy, but it works!

-- 
Greg Ewing, Computer Science Dept,
University of Canterbury,	
Christchurch, New Zealand
http://www.cosc.canterbury.ac.nz/~greg





More information about the Python-list mailing list