See: Attached screenshot. In the top-left, you can see the application's
name appears as Python. Is there a way to change this?
I've used
self.SetAppName("whyteboard")
in my App instance - would I need to set the vendor name too? or, is
this something that only changes when the application's installed?
Thanks, I just have no Mac access to give my program a whirl.
Cheers,
Steven
FYI: When I run Task Coach from source on the Mac it also shows Python
in the upper left corner. However, the py2app'ed application bundle
correctly shows "Task Coach" in the menu.
Cheers, Frank
Frank Niessink wrote:
> FYI: When I run Task Coach from source on the Mac it also shows Python
> in the upper left corner. However, the py2app'ed application bundle
> correctly shows "Task Coach" in the menu.
>
> Cheers, Frank
>
>
Ah, okay. With no Mac access I can't create a bundle, so it's no
problem. Thanks, both. It's a minor issue that doesn't bother me too
much. I really need to get a Mac VM working!
Thanks.
> There is a very gross hack to do this if you bundle a standalone
> Python.app: edit Python.app/Contents/Info.plist and change the string
> associated with CFBundleName to the name of your app. This will change
> the menubar name - however, the icon in the Dock will still be Python.
> (I don't think there's any way to change this without modifying the
> Python source code.)
sure there is -- much the same way -- but that would change it for every
python app, which you probably don't want.
The "right" way to do it is to create an application bundle. If you have
Mac users, maybe one of them can do it for you. Some perusing and/or a
post to the python-mac list should let you know what needs to be done
And take a look at: http://wiki.wxpython.org/Optimizing%20for%20Mac%20OS%20X
in any case, wxPython is imperfect enough that you'll need someone to at
least test and debug a bit on OS-X anyway.
If you want your users to be able to run in-development source, they can
build and "alias" app -- it contains links to the source, so that when
you update the source, it runs the updated code, but it otherwise
behaves like a real app -- with the right icons, drag and drop, etc.
That's how I run the Peppy editor, for instance, it works great.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception