Re: [Pyobjc-dev] Finding out which PyObjC version I'm using
Brought to you by:
ronaldoussoren
|
From: Orestis M. <or...@or...> - 2008-05-20 19:08:53
|
I've just checked, and the python on my path is the macports on (in opt/local/lib) and XCode happily uses the system's built-in one. It might pickup only things that are in /Library/Frameworks, not generally in the $PATH. Moving away stuff from there (I actually renamed it) works great. -- Orestis Markou or...@or... http://orestis.gr/ On 19 Μαϊ 2008, at 7:04 ΠΜ, Ronald Oussoren wrote: > > On 15 May, 2008, at 15:06, Orestis Markou wrote: > >> Hi, >> >> I'm a bit confused. >> >> I had PyObjC installed in Tiger, then I upgraded to Leopard. I also >> have macports installed, and I have an alias named macpython that >> points to the built-in Mac OS X python. >> >> I'm not really sure what's going on, and what version of Python/ >> PyObjC is XCode picking up. >> >> Any ideas about how to clean that up? >> >> In a related note, how can I use the svn version of PyObjC (or for >> that matter, an arbitratry tree of PyObjC that I have on my >> harddisk) ? The documentation seems a bit sparse. > > Xcode uses the 'python' executable on the shell's $PATH. Unless you > have changed environment.plist (I can't recall where that's located > right now, I'm pretty sure it's described on macosxhints.com) that > will be /usr/bin/python. > > If you had PyObjC installed in Tiger you've probably installed a > Python in /Library/Frameworks as well, unless you're developing for > Tiger your (IMHO) better of by removing that copy of Python and > using the system python instead. /usr/bin/python on Leopard is > Python 2.5.1 with some additional patches. > > Ronald > |