Re: [Pythonmac-SIG] Should Python.app be an LSUIElement = 1 app?

2009-02-04 Thread Ronald Oussoren
On 4 Feb, 2009, at 23:26, Bill Janssen wrote: The right ways to fix the issue you're running into with appscript are 1) Wrap your script into an .app bundle that includes the LSUIElement setting (because appeartly you are writing an application that is an agent-style application) 2) Resea

Re: [Pythonmac-SIG] Should Python.app be an LSUIElement = 1 app?

2009-02-04 Thread Bill Janssen
Ronald Oussoren wrote: > On 3 Feb, 2009, at 19:14, Bill Janssen wrote: > > > > But in the spirit of education, here's what I've got in my > > Python.app's > > Info.plist: > > > > LSUIElement > > > > That's the wrong definition, it should be: > > LSUIElement > 1 Thanks for th

Re: [Pythonmac-SIG] Should Python.app be an LSUIElement = 1 app?

2009-02-04 Thread Bill Janssen
Ronald Oussoren wrote: > > Whether we need to also upgrade the tutorials strikes me as a minor > > matter. > > You'd have to modify every tutorial out there, including books. That's > not > really feaseable. Python changes. Tutorials need to keep changing. > The right ways to fix the issue

[Pythonmac-SIG] help! coregraphics+python+webserver suddenly fails

2009-02-04 Thread michael geary
Hi Folks, i have very little experience with anything relating to cocoa, and not much more with quartz, but i'm an experienced web app developer, and have used python quite a bit. This list is the closest thing i can find to a forum where i can discuss this issue. I have a script that i'v

Re: [Pythonmac-SIG] Should Python.app be an LSUIElement = 1 app?

2009-02-04 Thread Ronald Oussoren
On 4 Feb, 2009, at 2:27, Bill Janssen wrote: Kevin Walzer wrote: Bill, the behavior that you experiencing is the expected behavior of Python, albeit not what you want in this instance. Rather than re- doing the long-standing infractucture of Python on the Mac, wouldn't it be better to find

Re: [Pythonmac-SIG] Should Python.app be an LSUIElement = 1 app?

2009-02-04 Thread Ronald Oussoren
On 4 Feb, 2009, at 1:14, Christopher Barker wrote: Kevin Walzer wrote: My development is of GUI apps, and I like being able to double- click on a Python script and have it do the Right Thing--that is, launch as a foreground GUI process in Tkinter. I think it's clear that lot's of us want t

Re: [Pythonmac-SIG] Should Python.app be an LSUIElement = 1 app?

2009-02-04 Thread Ronald Oussoren
On 3 Feb, 2009, at 19:14, Bill Janssen wrote: But in the spirit of education, here's what I've got in my Python.app's Info.plist: LSUIElement That's the wrong definition, it should be: LSUIElement 1 See

Re: [Pythonmac-SIG] Should Python.app be an LSUIElement = 1 app?

2009-02-04 Thread Ronald Oussoren
On 3 Feb, 2009, at 19:00, Bill Janssen wrote: Chris, I'm a bit confused, too. Could someone (Bill?) summarize what functionally will change if this change is applied? Basically, if you're running /usr/bin/python or Python.app directly, you still won't get a dock icon even if you're using

Re: [Pythonmac-SIG] Should Python.app be an LSUIElement = 1 app?

2009-02-04 Thread has
Ronald Oussoren wrote: I've tested the LSUIElement key with a GUI script, and based on that I'm opposed to including that key in Python.app. You can always wrap your scripts in an app bundle that does have the key set, or investigate how to avoid getting the rocket icon in the dock when y

Re: [Pythonmac-SIG] Should Python.app be an LSUIElement = 1 app?

2009-02-04 Thread Ronald Oussoren
On 4 Feb, 2009, at 18:50, Bill Janssen wrote: Ronald Oussoren wrote: LSUIElement=1 completely surpresses the dock icon and menu bar for an application, although you can get those back by calling an API. This would be a support nightmare for python.app, any (OSX) newby that runs a Tkinter

Re: [Pythonmac-SIG] Should Python.app be an LSUIElement = 1 app?

2009-02-04 Thread Bill Janssen
Ronald Oussoren wrote: > LSUIElement=1 completely surpresses the dock icon and menu bar for an > application, although you can get those back by calling an API. This > would be a support nightmare for python.app, any (OSX) newby that runs > a Tkinter script from a tutorial ends up with a non-func

Re: [Pythonmac-SIG] py2app

2009-02-04 Thread Henning Hraban Ramm
Am 2009-02-04 um 01:05 schrieb Christopher Barker: Hm, what do you mean? Should there be a standalone py2app script anywhere? nope. I know only "python setup.py py2app", right, so you add the -A: python setup.py py2app -A > and therefore I'd need to write a setup.py which is trivial