[Pythonmac-SIG] path, xcode, and python

2010-01-05 Thread Adam Morris
Hi all, Just trying to get my system set up for some coding ... decided to reinstall everything (Snow Leopard) from scratch. What a mistake that was. I updated to 10.6.2, installed Xcode and THEN installed python 2.6.4. I think that might have something to do with two problems I'm seeing. The maj

Re: [Pythonmac-SIG] path, xcode, and python

2010-01-05 Thread Ronald Oussoren
On 5 Jan, 2010, at 11:54, Adam Morris wrote: > Hi all, > > Just trying to get my system set up for some coding ... decided to reinstall > everything (Snow Leopard) from scratch. What a mistake that was. > > I updated to 10.6.2, installed Xcode and THEN installed python 2.6.4. I think > that m

Re: [Pythonmac-SIG] path, xcode, and python

2010-01-05 Thread Adam Morris
>That's probably because you use 2.6.4 when running interactively and the system python when using >FastScripts. You hit the nail on the head. Printing sys.version resulted in 2.6.1. Wasn't expecting that, because I had updated previously on my other system and everything seemed to "just work." >

Re: [Pythonmac-SIG] path, xcode, and python

2010-01-05 Thread Ronald Oussoren
On 5 Jan, 2010, at 14:02, Adam Morris wrote: > >That's probably because you use 2.6.4 when running interactively and the > >system python when using > >FastScripts. > > You hit the nail on the head. Printing sys.version resulted in 2.6.1. Wasn't > expecting that, because I had updated previou

Re: [Pythonmac-SIG] path, xcode, and python

2010-01-05 Thread Charles Turner
On Jan 5, 2010, at 8:07 AM, Ronald Oussoren wrote: There is a system installation of Python in /System/Library/ Frameworks, and you can add other Python installations yourself. The 2.6.4 installer at python.org installs 2.6.4 in /Library/ Framework. These different installations are comple

Re: [Pythonmac-SIG] Python app with aemreceive is not scriptable

2010-01-05 Thread Kevin Walzer
On 1/4/10 11:24 PM, Kevin Walzer wrote: On 1/4/10 8:18 AM, Kevin Walzer wrote: On 1/4/10 6:37 AM, has wrote: This is very weird, and I have no clue how to untangle it. My app won't respond to Apple Events at all without a valid sdef file in the bundle's Resources directory. However, if the s

Re: [Pythonmac-SIG] Python app with aemreceive is not scriptable

2010-01-05 Thread has
Kevin Walzer wrote: > Now my app responds to Apple Events and doesn't complain about a corrupted > dictionary. However, I'm having some additional difficulty. It appears that > Apple Events are bypassing the bundled Python and are going straight to the > Tk framework instead. Tk/Aqua has pretty

Re: [Pythonmac-SIG] path, xcode, and python

2010-01-05 Thread Ned Deily
In article <[email protected]>, Charles Turner wrote: > Also, given that both "pythons" in /usr/bin and /usr/local/bin are > symlinks, you can rename these to suit your organizational requirements. Don't change the /usr/bin/python symlink or any other existing

Re: [Pythonmac-SIG] Python app with aemreceive is not scriptable

2010-01-05 Thread Kevin Walzer
On 1/5/10 11:41 AM, has wrote: If I understand you, Tk implements a 'do script' handler that executes arbitrary Tcl scripts (right...no potential security issues there, then) and you are installing your own 'do script' handler as well. Yes, that's basically it. If that's the case, make su

[Pythonmac-SIG] What to build binaries for???

2010-01-05 Thread Christopher Barker
Hi folks, Another poster on the numpy list has been bitten by the "must have the system python" issue with the binary installer, meaning the python.org build. 1) I thought I provided a patch a good while ago to update that message -- did that get lost in the shuffle? 2) we're talking on th

Re: [Pythonmac-SIG] What to build binaries for???

2010-01-05 Thread Ned Deily
In article <[email protected]>, Christopher Barker wrote: > Another poster on the numpy list has been bitten by the "must have the > system python" issue with the binary installer, meaning the python.org > build. > > 1) I thought I provided a patch a good while ago to update that messa

Re: [Pythonmac-SIG] path, xcode, and python

2010-01-05 Thread Adam Morris
OK I've figured it out. After spending another morning doing a clean re-install (the do do do intro song is catchy the first time but lame after three... :) To get PyObjC working on Python 2.6.4: Install Python 2.6.4 Install setuptools for 2.6.4 Install PyObjC using setuptools This process was n

Re: [Pythonmac-SIG] path, xcode, and python

2010-01-05 Thread Ned Deily
In article <[email protected]>, Adam Morris wrote: > OK I've figured it out. After spending another morning doing a clean > re-install (the do do do intro song is catchy the first time but lame after > three... :) > > To get PyObjC working on Python 2.6

Re: [Pythonmac-SIG] What to build binaries for???

2010-01-05 Thread Christopher Barker
Ned Deily wrote: In article <[email protected]>, Christopher Barker wrote: Another poster on the numpy list has been bitten by the "must have the system python" issue with the binary installer, meaning the python.org build. 1) I thought I provided a patch a good while ago to update

Re: [Pythonmac-SIG] What to build binaries for???

2010-01-05 Thread Christopher Barker
Ned, Thanks for the detailed review -- what a mess! I've got a longer note about this at work -- apparently I failed to send it before catching the bus, but a few clarifications: 2) we're talking on that list about implementing what Robin Dunn has done for wxPython -- a single installer that

Re: [Pythonmac-SIG] What to build binaries for???

2010-01-05 Thread Adam Morris
>He's right -- we want to be able to provide a simple message. I'm right twice over. An appendum to my instructions: Not only do you have to use setuptools to install PyObjC with 2.6.4 on Snow Leopard, but you have to build the templates manually as well (using instructions found on another site).