Re: Xcode templates?

Scott Harris <[email protected]>
Newsgroups gmane.comp.python.pyobjc.devel
Message-ID <[email protected]>
OK, I found python2.7 in /Library/Frameworks and I got rid of that. Now the Xcode template is working, but it's choosing python2.5.4

How do I control which python the Xcode template picks to run my code? I want it to use the Apple supplied 2.6 version.

Thanks,
-Scott
On Jan 30, 2011, at 1:03 AM, Scott Harris wrote:

> I think the issue is that something has changed in Xcode. I've explicitly made the main.m in the template call python2.6. 
> 
> It used to work with all the apple supplied stuff , so I don't want to install new stuff to confuse the debugging.
> 
> So it is running python 2.7 even though I explicitly put this in main.m:
> 
> Py_SetProgramName("/usr/bin/python2.6");
> 
> Where is Xcode picking 2.7 up from?
> 
> -Scott
> On Jan 30, 2011, at 12:35 AM, Jair Gaxiola wrote:
> 
>> On Sun, Jan 30, 2011 at 1:10 AM, Scott Harris <[email protected]> wrote:
>>> Yes. pyobjc is found when I run python from the terminal. I'm using the Apple supplied pyobj and python.
>>> 
>> 
>> Ok, check python version uses in terminal and xcode is the same. Try
>> install pyobjc from  easy_install.
>> 
>> -- 
>> SIN ETIQUETAS.[ PUNTO ]
>> http://flavors.me/jyr
>> http://pythoncocoa.com
>> http://opentumblr.com
>

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d

_______________________________________________
Pyobjc-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyobjc-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.