On May 16, 2006, at 9:52, Christopher Barker wrote:

> Isn't there a way to tell XCode specifically what python you want  
> it to
> use? I don't use XCode, so I have no idea.

Since my impression is the  XCode 'philosophy' to design it as a tool  
'shell' using scripting to leverage command-line tools. I suspect one  
can go into the Python Xcode templates and modify the scripts. They  
are not always easy to locate through the IDE though there may be  
more straight-forward ways (for a UNIX developer anyway) to access  
and modify them. I'll take a look at this at some point, but I have  
not since the only part of the Xcode tool chain I use for Python/ObjC  
development is Interface Builder. XCode can integrate Ant for Java  
builds so I would think one can do it for.

If worse came to worse, I suppose you could write a script to set the  
the Path in a shell and export it or in the OSX plist, , invoke XCode  
from the command line, 'do your business', and then reset everything  
if necessary with another script. A bit of a hack, but perhaps it  
could be made fairly painless.

Question for the group: if I modify the environment through os.environ 
['PATH'], will Finder applications pick that up or is it just for the  
shell? Yes I need to RTFM and try it, but this is a stream-of- 
consciousness email over lunch and I have a full plate for this  
afternoon. Besides, what's a community for anyway? ;-)

Daniel

"Few people are capable of expressing with equanimity opinions which  
differ from the prejudices of their social environment.  Most people  
are not even capable of forming such opinions."
- Einstein


_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to