[Pythonmac-SIG] Using py2app on 10.5 to build apps that run on 10.4?

Kevin Walzer kw at codebykevin.com
Sat Feb 23 03:26:18 CET 2008


Russell E. Owen wrote:

> Thank you very much.
> 
> So if I understand this right...as long as I install a python that was 
> built with the -mmacosx-version-min=10.4 flag then distutils will 
> automatically build python packages using the same flag. (Of course I 
> can also install 10.4-compatible package binaries, but I'm hoping to 
> upgrade to Tcl/Tk 8.5 and I doubt I'll find binaries for that.)

I think that's correct.
> 
> If so...does it suffice to use the Mac Python binaries that were built 
> to be compatible with 10.4 or must I compile my own python and 
> explicitly add use that flag?

I can't speak for every package, but I am using my own build of Python 
that links to Tk 8.5. The stock MacPython links to 8.4 and won't work 
with 8.5. I built Python and Tk to support 10.4 and they seem to work fine.

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


More information about the Pythonmac-SIG mailing list