Re: [Pythonmac-SIG] Link against Python Framework

2009-09-19 Thread Jason Foreman
On Sep 10, 2009, at 10:29 AM, Jason Foreman wrote: On Sep 10, 2009, at 5:09 AM, Georg Seifert wrote: 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? I'll try to look f

Re: [Pythonmac-SIG] Link against Python Framework

2009-09-19 Thread Jason Foreman
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

Re: [Pythonmac-SIG] Link against Python Framework

2009-09-14 Thread Ronald Oussoren
On 10 Sep, 2009, at 12:09, 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 t

Re: [Pythonmac-SIG] Link against Python Framework

2009-09-10 Thread Georg Seifert
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)

Re: [Pythonmac-SIG] Link against Python Framework

2009-09-09 Thread Jason Foreman
On Sep 9, 2009, at 9:07 AM, Kevin Walzer wrote: Major Python releases (such as 2.5 and 2.6) are not necessarily binary compatibel. If you are careful you can get a single binary that works with 2.5 and 2.6, but you then have to load the framework manually and also manually resolve any py

Re: [Pythonmac-SIG] Link against Python Framework

2009-09-09 Thread Ronald Oussoren
On Wednesday, 09 September, 2009, at 04:07PM, "Kevin Walzer" wrote: >> >> Major Python releases (such as 2.5 and 2.6) are not necessarily binary >> compatibel. If you are careful you can get a single binary that works with >> 2.5 and 2.6, but you then have to load the framework manually and a

Re: [Pythonmac-SIG] Link against Python Framework

2009-09-09 Thread Kevin Walzer
Major Python releases (such as 2.5 and 2.6) are not necessarily binary compatibel. If you are careful you can get a single binary that works with 2.5 and 2.6, but you then have to load the framework manually and also manually resolve any python API functions you are using. The easiest way to

Re: [Pythonmac-SIG] Link against Python Framework

2009-09-09 Thread Ronald Oussoren
On Wednesday, 09 September, 2009, at 02:10PM, "Georg Seifert" wrote: >Hi, > >In my Cocoa app, I link agains the Python framework to be able to call >"PyRun_SimpleString" and load bundles based on python. > >If I set the Base SDK to 10.5, it runs on 10.5 and 10.6. But if I set >it to 10.6 an

[Pythonmac-SIG] Link against Python Framework

2009-09-09 Thread Georg Seifert
Hi, In my Cocoa app, I link agains the Python framework to be able to call "PyRun_SimpleString" and load bundles based on python. If I set the Base SDK to 10.5, it runs on 10.5 and 10.6. But if I set it to 10.6 and MACOSX_DEPLOYMENT_TARGET = 10.5 it complains in Leopard that it can’t find