[Pythonmac-SIG] Using distutils with XCode
bob at redivi.com
Thu Oct 6 20:44:47 CEST 2005
On Oct 5, 2005, at 9:40 PM, Chris Barker wrote:
> Paul Kinnane wrote:
>> I want to use the library in MacPython (rather than Darwin python).
> What is MacPython vs. darwin Python? There is now one, unified python.
> You can use 2.3.* or 2.4.*, but either way, it's native OS-X. If you
> want to run it under classic (or on an old pre-OS-X machine), then you
> are talking a different beast, and you're not going to get it with gcc
> under OS-X. gcc only knows how to make mach-o binaries. You'll need
> binaries. Your best bet is probably code warrior, which I don't
> think is
> supported in any way, shape or form by distutils. I used to compile
> python extensions with Code Warrior, and it wasn't too hard. Just the
> usual struggle to include and link all the right files. I think MPW
> do it too, but I've never tried that.
> Now I know why you were looking at those old docs at the beginning of
> this adventure!
> Do you really need to run this under Classic?
I'm relatively sure that distutils does support CW. No clue about
MPW. Either way MacPython-OS9 is a dead end.
More information about the Pythonmac-SIG