[Pythonmac-SIG] New Page, first proposal
Ronald Oussoren
ronaldoussoren at mac.com
Sat Feb 11 22:27:59 CET 2006
On 11-feb-2006, at 22:03, Bob Ippolito wrote:
>
> On Feb 11, 2006, at 12:53 PM, Ronald Oussoren wrote:
>
>>
>> On 10-feb-2006, at 2:56, Bob Ippolito wrote:
>>>
>>> The extension thing we can hack around by installing two copies of
>>> the Makefile and having distutils pick a PPC-only Makefile if it
>>> detects 10.3.
>>
>> I was thinking more along the line of hacking distutils to detect
>> that
>> it is running on 10.3 and then removing 10.4+ specific flags (all -
>> arch
>> flags and the -isysroot thingy) from CFLAGS.
>
> That would work too, but it's probably easier to have a separate
> Makefile present because it's easier to implement.
Not for me, my test machine for 10.3 doesn't have a compiler :-)
>
> Probably also a bit easier to make work with dumb extensions that
> aren't built with distutils (like subversion's Python bindings)..
> since they'd just have to add a little conditional to the Makefile-
> finding code, rather than re-implementing the flags mangling.
To badly parafrase you: extensions that don't use distutils to build
suck and are broken. If we must support those we could add a pkg-
config style script.
Ronald
>
> -bob
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2157 bytes
Desc: not available
Url : http://mail.python.org/pipermail/pythonmac-sig/attachments/20060211/18cae532/attachment.bin
More information about the Pythonmac-SIG
mailing list