On Sep 12, 2008, at 11:09 PM, Erik Wickstrom wrote:

> The menubar of OS X is showing the application name as Python  
> instead of the
> name of my app.  (This also happens with the AppWizard and Class  
> Editor).
> How do I make my application name show-up in the menu bar?


        Technically, that is correct behavior. You are running these scripts  
using the Python interpreter.

        To make an actual OS X Application, you need to build the app using  
py2app. In the setup.py you create for that, you will have a section  
that looks like this:

setup(
                data_files=DATA_FILES,
                version = "1.0",
                description = "twitter client brought to by Dabo",
                name = "tweezer",
                # targets to build
                app = ["tweezer.py"],
                #windows = ["tweezer.py"],
                #console = ["tweezer.py"],
                options={"py2app": OPTIONS,
                        "py2exe": OPTIONS},
)

        In this section, the 'name' value will show up as the application  
name. This is from the setup.py for my Twitter app called 'tweezer',  
and when I run the app, the name 'tweezer' shows up in the menu bar.  
You can see the complete setup.py here:

http://svn.dabodev.com/twitterClient/trunk/setup.py

-- Ed Leafe





_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]

Reply via email to