[Pythonmac-SIG] Having a problem to install PyObjC to Snow Leopard

2009-10-08 Thread Takahiro IWAMOTO
Hello, I'm trying to install PyObjC by "sudo port -d install py26-pyobjc2" I got an error message related with KeyError '_objc'. The error message is >> DEBUG: Backtrace: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26

Re: [Pythonmac-SIG] Shortcut for IDLE on Mac OS X (LEOPARD)

2009-10-08 Thread davelist
On Oct 7, 2009, at 7:35 PM, Christopher Barker wrote: Ben Golding wrote: You should be able to put this in a double-clickable file by putting that string in a file called, say, IDLE.command and then making it executable. Files ending in ".command" are recognised by Launch Services as she

Re: [Pythonmac-SIG] Installer variants [Was: Building 2.5 on SL]

2009-10-08 Thread Zvezdan Petkovic
On Oct 7, 2009, at 6:39 PM, Ned Deily wrote: So, to summarize, I suggest that we continue to provide the current style of 10.3+ 32-fat installers for 2.m.n and 3.x.y for the indefinite future and that we work towards providing a second installer for 2.m.n and 3.x.y (m, n, x, y TBD), providin

Re: [Pythonmac-SIG] Build python app using wxpython on intel-leopard and deploy on powerpc-tiger?

2009-10-08 Thread hari jayaram
Just tried a "hello world " app to troubleshoot py2app as Chris Barker suggested. When I say open sayhello.app Nothing happens. No additional console opens . IS this the normal behavior. Here is my hello world style app and its setup.py ( see below) Should the app created with py2app automatical

[Pythonmac-SIG] Latest Py2app bug..

2009-10-08 Thread Christopher Barker
Hi folks, hari jayaram wrote: Just tried a "hello world " app to troubleshoot py2app as Chris Barker suggested. I was trying to help this guy out, and updated by py2app to the dev version: easy_install py2app==dev Now it's broken for me, on OS-X 10.4, Python.org 2.5: (tested in a very simpl

Re: [Pythonmac-SIG] Build python app using wxpython on intel-leopard and deploy on powerpc-tiger?

2009-10-08 Thread Christopher Barker
hari jayaram wrote: Just tried a "hello world " app to troubleshoot py2app as Chris Barker suggested. When I say open sayhello.app Nothing happens. No additional console opens . IS this the normal behavior. yes -- app bundles re-direct stdout to the console, but don't open it for you. Try op

Re: [Pythonmac-SIG] Latest Py2app bug..

2009-10-08 Thread Christopher Barker
Christopher Barker wrote: I was trying to help this guy out, and updated by py2app to the dev version: easy_install py2app==dev Now it's broken for me, on OS-X 10.4, Python.org 2.5: Another note -- I just cleared it out, and did: $ easy_install py2app and got 0.4.2 Still the same bug, eve

Re: [Pythonmac-SIG] Latest Py2app bug..

2009-10-08 Thread Luis A. Bastiao Silva
Hi, Just to say that It happens also with me. Using Snow Leopard and python2.6. File "/Users/bastiao/Umit/svn/trunk/py2app-0.4.2-py2.6.egg/py2app/build_app.py", line 60, in copy_framework destfn = self.appbuilder.copy_framework(info, self.dest) File "/Users/bastiao/Umit/svn/trunk/py2app-

Re: [Pythonmac-SIG] Having a problem to install PyObjC to Snow Leopard

2009-10-08 Thread Ned Deily
In article <3f39e1330910080429y16802094pef7505d7e7456...@mail.gmail.com>, Takahiro IWAMOTO wrote: > I'm trying to install PyObjC by "sudo port -d install py26-pyobjc2" > > I got an error message related with KeyError '_objc'. The problem was due to a Distutils incompatibility released in Pyth

Re: [Pythonmac-SIG] Latest Py2app bug..

2009-10-08 Thread Ned Deily
In article <277c20420910080947i564f41a2u2890e890767d5...@mail.gmail.com>, "Luis A. Bastiao Silva" wrote: > Just to say that It happens also with me. Using Snow Leopard and python2.6. > > File > "/Users/bastiao/Umit/svn/trunk/py2app-0.4.2-py2.6.egg/py2app/build_app.py", > line 60, in copy_fram

Re: [Pythonmac-SIG] Latest Py2app bug..

2009-10-08 Thread Christopher Barker
Ned Deily wrote: Looks like it was caused by a one-line patch that was just added to py2app. Try reverting it by changing line 911 of py2app-0.4.2-py2.6.egg/py2app/build_app.py from: pydir = 'python%d.%d'%(info['version']) back to: pydir = 'python%d.%d'%(sys.version_info[:2]) yu

Re: [Pythonmac-SIG] Latest Py2app bug..

2009-10-08 Thread hari jayaram
Hi Chris , Ned and everyone else . I fixed the line 911 in py2app/build_app.py as recommended by Ned , then reinstalled py2app My printto100.app ( hello world app) does output the numbers to console, so it works fine I however still cannot get the wxpython app to build correctly. I am trying it w

Re: [Pythonmac-SIG] Shortcut for IDLE on Mac OS X (LEOPARD)

2009-10-08 Thread Gregor Lingl
Thanks for all those replies. I'll try them out and investigate them next weekend. Subsequently I'll give you some more feedback. For those of you using Python 2.6 or 3.x and interested in Python's new turtle module: There is a turtle subdirectory in the Demo folder of your Python install

Re: [Pythonmac-SIG] Latest Py2app bug..

2009-10-08 Thread Christopher Barker
hari jayaram wrote: My printto100.app ( hello world app) does output the numbers to console, so it works fine what is in: printo100.app/Contents/MacOS/ is should have: $ ls -l printo100.app/Contents/MacOS/ total 264 -rwxr-xr-x 1 cbarker cbarker 100276 Oct 8 12:38 printo100 -rwxr-xr-x

Re: [Pythonmac-SIG] Latest Py2app bug..

2009-10-08 Thread hari jayaram
Hi Chris , Ned and everyone else I looked at all my app bundles created with py2app . Inside App/Contents/MacOS The python is a link to the system python . ( for eg see below for the wxpython app I am trying to build) So I guess the question is why is that happening with my setup.py and py2app 0.

Re: [Pythonmac-SIG] Shortcut for IDLE on Mac OS X (LEOPARD)

2009-10-08 Thread Ned Deily
In article <4ace4fe3.6050...@aon.at>, Gregor Lingl wrote: > There is a turtle subdirectory in the Demo folder of your Python > installation. > There you can find a script called turtleDemo.py that lets you view and > run demos > from a set of approx.15 demo scripts. I love those demos. I use