[Pythonmac-SIG] Link against Python Framework
Jason Foreman
jason at threeve.org
Thu Sep 10 17:29:18 CEST 2009
On Sep 10, 2009, at 5:09 AM, Georg Seifert wrote:
>>
>> If you want to make absolutely sure that Apple can't break you, you
>> could bundle the version of Python.framework upon which you depend
>> into your app. However, that's probably not necessary unless you
>> want to use a newer version of Python than the system has (say,
>> 3.0+, or 2.6 on Leopard).
>
> How do I specify the version to link with.
> The 10.5 SDK links against python 2.5 and the 10.6 SDK to 2.6. But
> what if I need the 10.6 SKD but want to link to python 2.5?
This is a good question, and I'm sorry to say I haven't got an answer
for you. I'm not sure how to specify which framework version to link
when you add a framework that contains multiple versions.
What I would probably do myself at that point is to compile a Python
2.5 framework of my own, and embed it into my app.
I'll try to look for ways to specify a specific framework version to
link against and let you know if I find anything.
Jason
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2417 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20090910/57e92fa2/attachment-0001.bin>
More information about the Pythonmac-SIG
mailing list