[Pythonmac-SIG] Python (2.3, 2.4...) + XCode (2.1, 2.2) + Extensions...

Ronald Oussoren ronaldoussoren at mac.com
Tue Mar 14 21:30:20 CET 2006


On 14-mrt-2006, at 17:04, Hubert Holin wrote:

> Paris (U.E.), le 14/03/2006
>
> 	Bonjour
>
> 		Back when XCode 2.1 was current (no *so* long ago), I used it to
> build extensions for Python (first Apple's 2.3, then Bob's "official
> unofficial'" 2.4). Finding the right combination of flags to make the
> thing work was not funny.
>
> 		Then XCode 2.2 came along, which was fine for some C++ work.
>
> 		I have come to revisit some older XCode projects, which included
> extensions to Python, and, lo and behold, Apple has played "mix the
> flags" again! This means I can't build new projects which includes
> custom extensions to Python using only *documented* flags, unless I
> once again go into a hair-tearing flag hunting session... Unless
> somebody else has done that and is willing to share the result of his
> labor.

I use distutils for building python extensions, which means Python  
will provide
the right compiler flags for me ;-). PyObjC includes Xcode templates  
for Python
based applications, you could use this as a starting point for using  
distutils to
build python extensions from an Xcode project.

Ronald

>
> 		For the record, some of the projects I was revisiting were for
> getting my feet wet with MacTels during an Apple Workshop (Universal
> Binaries) in Paris, Friday. Guess I'll have some interesting
> questions to ask them...
>
> 	Merci
>
> Hubert Holin
>
> _______________________________________________
> Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig



More information about the Pythonmac-SIG mailing list