From: Philip Aker <philip@vc...> - 2005-04-21 06:30:50
On Wednesday, Apr 20, 2005, at 21:54 America/Vancouver, Jeff Hobbs
>> 2. When I launch my Python app my menus appear ok, but under OS X the
>> first menu (which should have the name of the
>> application, according to the Apple Human Interface Guidelines) says
>> "Python". Is there a way to access this menu, and to hook into its
>> "Quit Python" item to change it to something my own app can handle?
> This is because you are actually running a python application.
> I'm not sure if there is a way around this (anybody?)
I believe there's a:
from bundlebuilder import buildapp
and another facility called py2app.
However the only reason I know about them is because I received a
Python based app which had problems linking to Python.framework. It
presumed it was in /Library/Frameworks which is the normal location for
the latest Python.framework. But I only had the one in
/System/Library/Frameworks. In the resultant application's Info.plist
file there is a PyRuntimeLocations array category. Make sure it
contains an entry for /System/Library/Frameworks as well. I can't
remember if I adjusted anything else. This app did not use Tk so I
can't comment on how that usage will be affected.
Get latest updates about Open Source Projects, Conferences and News.