Re: [Pyobjc-dev] pyobjc 2.0 on Leopard with MacPython?
Brought to you by:
ronaldoussoren
|
From: Barry W. <bar...@gm...> - 2007-12-24 19:44:31
|
Mikeal, pyobjc2 requires the 10.5 SDK. Unfortunately the MacPython DMG distribution is built against the 10.4u SDK. In order to use pyobjc2 with the MacPython distribution, you have to compile the Python framework from source. I've done this. You're welcome to give my build a try (http://rieke-server.physiol.washington.edu/~barry/python/python-2.5.1-macosx2007-11-26.dmg). It will install in the same location as the 10.4u SDK (I can't figure out a way around this), so you might want to move the current Python.framework to somewhere safe before you install the new one. Once installed, you'll have to rebuild any extensions, since they generally have to be built with the same SDK as the interpreter. pyobjc2 should now build and run fine (checkout the pyobjc2 source from svn). The only hickup I've noticed is that the Xcode debugger sometimes chokes when loading pyobjc2 applications that use the MacPython framework since it appears that it doesn't contain some of the expected debugging symbols. Let me know how things go. Barry On Dec 24, 2007 12:01 AM, Mikeal Rogers <mi...@os...> wrote: > I can't seem to find any documentation for building/installing > pyobjc2.0 on Leopard for MacPython. > > For a variety of reasons I don't use the Python that is installed on > Leopard by default and need to get pyobjc running in 2.5.1 MacPython. > > It would be really nice is pyobjc2 was in the cheeseshop like the old > 1.x is. > > -Mikeal > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Pyobjc-dev mailing list > Pyo...@li... > https://lists.sourceforge.net/lists/listinfo/pyobjc-dev > |