Re: [Pyobjc-dev] Finding out which PyObjC version I'm using
Brought to you by:
ronaldoussoren
From: Ronald O. <ron...@ma...> - 2008-05-19 06:04:07
|
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 |