[Pythonmac-SIG] Link against Python Framework

Kevin Walzer kw at codebykevin.com
Wed Sep 9 16:07:28 CEST 2009


>
> 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 do that is using the CFBundle APIs in CoreFoundation.
>

Does this mean that if one builds a PyObjC application using Apple's 
tools--Xcode, linking against the system Python and PyObjC 
frameworks--then it may break in an OS upgrade if Apple has upgraded the 
system Python installation? I've always wondered about this.

-- 
Kevin Walzer
Code by Kevin
http://www.codebykevin.com


More information about the Pythonmac-SIG mailing list