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

2009-10-07 Thread Ronald Oussoren
On 8 Oct, 2009, at 0:05, Gregor Lingl wrote: Ronald Oussoren schrieb: On 7 Oct, 2009, at 22:18, Gregor Lingl wrote: Hi, I'm relatively new to the Mac. I have a Python 3.1.1. installation on my Macbook and I'd like to have a shortcut on my desktop starting IDLE with the -n switch, that is

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

2009-10-07 Thread Christopher Barker
Christopher Barker wrote: Has no-one made a nifty utility to make a *.app bundle from a shell script? That would seem like an obvious utility to want... There is platypus: http://www.sveinbjorn.org/platypus perhaps overkill, but it looks like it will work. Though in this case, it seems re-bu

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

2009-10-07 Thread Christopher Barker
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 shell scripts (I believe). Has no-one made a nifty utility to

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

2009-10-07 Thread Christopher Barker
hari jayaram wrote: Thanks Chris for your emails.. one more thought -- this is looking like it may have nothing to do with wxPython -- try a simple "hello world" script, and see what happens. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R

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

2009-10-07 Thread George Wright
Gregor Here's one way to do it. My example is for python2.5 not python3.:: Create a shell script that will do the job for you. I've called mine "startidle". Make it executable: chmod +x startidle Test from Terminal that it works. Open AppleScript Editor application and create a new script call

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

2009-10-07 Thread Ben Golding
On 08/10/2009, at 07:18, Gregor Lingl wrote: I am able to start IDLE in this mode from a terminal, but thats rather cumbersome python3 /Library/Frameworks/Python.framework/Versions/3.1/lib/ python3.1/idlelib/idle.py -n You should be able to put this in a double-clickable file by putting t

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

2009-10-07 Thread Aahz
On Wed, Oct 07, 2009, 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] Shortcut for IDLE on Mac OS X (LEOPARD)

2009-10-07 Thread Michael Crawford
On Wed, Oct 7, 2009 at 3:05 PM, Gregor Lingl wrote: > Yes, I want to do interactive turtle graphics. (In fact I've written a book, > "Python für Kids" and I was asked by a reader how to do it on a Mac.) I'm very interested to hear more about your book. Do you also have an English translation? F

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

2009-10-07 Thread Ned Deily
In article <48c14e26-e790-47c2-bd44-fc65159d8...@zope.com>, Zvezdan Petkovic wrote: > Why do we make 10.4 or even 10.3 the default target for Mac builds of > Python any more? Moving the default to 10.5 would be better, IMHO. That's a good question and now is a good time to have a discussion a

Re: [Pythonmac-SIG] Building 2.5 on SL - configure-2.5.4-for-10.6.patch (1/1)

2009-10-07 Thread Ned Deily
In article <48c14e26-e790-47c2-bd44-fc65159d8...@zope.com>, Zvezdan Petkovic wrote: > On Oct 7, 2009, at 3:32 AM, Ned Deily wrote: > > In article > > <7a9c25c20910062100i25e0bbe0jb2c37e9025812...@mail.gmail.com>, > > Stephen Hansen wrote: > >> I'm trying to build a "private" instance of Python

Re: [Pythonmac-SIG] py2app/64-bit/Mach-O Headers

2009-10-07 Thread Kevin Walzer
Could you post the 4-way universal build of Tcl/Tk somewhere, that way I can debug on SL. Ronald Done: http://www.codebykevin.com/64-bit-tcl-tk-aqua.pkg.zip Thanks, Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SI

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

2009-10-07 Thread Gregor Lingl
Ronald Oussoren schrieb: On 7 Oct, 2009, at 22:18, Gregor Lingl wrote: Hi, I'm relatively new to the Mac. I have a Python 3.1.1. installation on my Macbook and I'd like to have a shortcut on my desktop starting IDLE with the -n switch, that is without subprocess Why do you want to do that

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

2009-10-07 Thread hari jayaram
Thanks Chris for your emails.. I was building using python setup.py py2app I was always rm -r -f 'ing build and dist directories and then running python setup.py py2app I even tried giving the full path to python to make absolutely sure it was using the python i thought it was . In every case

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

2009-10-07 Thread Ronald Oussoren
On 7 Oct, 2009, at 22:18, Gregor Lingl wrote: Hi, I'm relatively new to the Mac. I have a Python 3.1.1. installation on my Macbook and I'd like to have a shortcut on my desktop starting IDLE with the -n switch, that is without subprocess Why do you want to do that? Is there functionality in

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

2009-10-07 Thread Gregor Lingl
Hi, I'm relatively new to the Mac. I have a Python 3.1.1. installation on my Macbook and I'd like to have a shortcut on my desktop starting IDLE with the -n switch, that is without subprocess Under Windows I'd rightclick on the desktop, create a new shortcut and then enter as the target: C:\Pyt

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

2009-10-07 Thread Christopher Barker
hari jayaram wrote: After Chris said that he has no problems with python 2.5.4 and universal builds , I downloaded the python.org python 2.5.4 and the wxpython for 2.5.4 unicode from the wx-site. Using the subversion build of py2applet I cam getting the same error when I run the built GridZilla.

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

2009-10-07 Thread Christopher Barker
hari jayaram wrote: 1) The app is 73 M big , so it looks quite beefy (http://gridzilla.s3.amazonaws.com/demo-gzilla.dmg) yup, then it is bundling up everything (or trying to anyway!) 2) As Chris mentioned , the app seems to be looking for _core_.so for the wxpython in the wrong place. I am se

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

2009-10-07 Thread hari jayaram
Hi everyone. After Chris said that he has no problems with python 2.5.4 and universal builds , I downloaded the python.org python 2.5.4 and the wxpython for 2.5.4 unicode from the wx-site. Using the subversion build of py2applet I cam getting the same error when I run the built GridZilla.appa , i.

Re: [Pythonmac-SIG] py2app/64-bit/Mach-O Headers

2009-10-07 Thread Ronald Oussoren
On 7 Oct, 2009, at 16:16, Kevin Walzer wrote: On 10/7/09 2:07 AM, Ronald Oussoren wrote: Time to install a 64-bit build myself, I've been running the 32-bit only the last couple of weeks due to the 2.6.3 release. Ronald Ronald, Thanks, please keep me posted on what you find. Will be g

Re: [Pythonmac-SIG] Building 2.5 on SL - configure-2.5.4-for-10.6.patch (1/1)

2009-10-07 Thread Ronald Oussoren
On 7 Oct, 2009, at 15:31, Zvezdan Petkovic wrote: Why do we make 10.4 or even 10.3 the default target for Mac builds of Python any more? Moving the default to 10.5 would be better, IMHO. Changing the default won't happen until the release of Python 2.7 and 3.2. I'm thinking about provi

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

2009-10-07 Thread hari jayaram
Hi Chris , Ned and everyone else. Thank you for your emails . I am still trying to solve the py2app built app looking for _core_.so for wxpython in the wrong place 1) The app is 73 M big , so it looks quite beefy (http://gridzilla.s3.amazonaws.com/demo-gzilla.dmg) 2) As Chris mentioned , the app

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

2009-10-07 Thread Christopher Barker
Aahz wrote: What is your recommendation for supporting 10.4, 10.5, and 10.6? Does including PPC make any difference? For maximum support, I use the 32bit Universal Python from python.org. That should run everywhere 10.4 (and probably 10.3.9) and greater, Intel and PPC. 64 bit is still sketch

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

2009-10-07 Thread Christopher Barker
Ned Deily wrote: hari jayaram wrote: I have gone ahead and installed python.org python 2.6 to the intel-leopard laptop and with dependencies for the app i.e wx (wxpython 2.8.10) , reportlab and pyyaml and the subversion build of py2app. The app works fine with this python 2.6 I am not a wx

Re: [Pythonmac-SIG] py2app/64-bit/Mach-O Headers

2009-10-07 Thread Kevin Walzer
On 10/7/09 2:07 AM, Ronald Oussoren wrote: Time to install a 64-bit build myself, I've been running the 32-bit only the last couple of weeks due to the 2.6.3 release. Ronald Ronald, Thanks, please keep me posted on what you find. Will be glad to test any patches for py2app that you come up

Re: [Pythonmac-SIG] Building 2.5 on SL - configure-2.5.4-for-10.6.patch (1/1)

2009-10-07 Thread Zvezdan Petkovic
On Oct 7, 2009, at 3:32 AM, Ned Deily wrote: In article <7a9c25c20910062100i25e0bbe0jb2c37e9025812...@mail.gmail.com>, Stephen Hansen wrote: I'm trying to build a "private" instance of Python 2.5.4 on Snow Leopard, and am running into a problem. [...] A-hah! The problem is that Snow Leopa

Re: [Pythonmac-SIG] Setting up locale on Mac - how should this been done?

2009-10-07 Thread Barry Scott
On 4 Oct 2009, at 20:30, Ronald Oussoren wrote: On 4 Oct, 2009, at 19:53, Barry Scott wrote: I have a wxPython application (PySVN WorkBench) that is a bundle. When the app runs the environment does not contain any of the usual variables that would be used to into the locale, LANG, LC_ALL e

Re: [Pythonmac-SIG] Building 2.5 on SL - configure-2.5.4-for-10.6.patch (1/1)

2009-10-07 Thread Ned Deily
In article <7a9c25c20910062100i25e0bbe0jb2c37e9025812...@mail.gmail.com>, Stephen Hansen wrote: > I'm trying to build a "private" instance of Python 2.5.4 on Snow Leopard, > and am running into a problem. [...] A-hah! The problem is that Snow Leopard is also Darwin 10.0 and it turns out that