[Pythonmac-SIG] Python program done, now need to Change Rocketship Icon, Remove Python menu?

Python Nutter pythonnutter at gmail.com
Mon Jun 29 09:33:04 CEST 2009


I've completed a GUI program in Python and used wxPython for a cross
platform GUI solution.

Now I need to focus on polishing up the Mac OS X distribution side of things.

I've scanned my email program's archives of pythonmac-sig and I didn't
get any results on a few first items I need to learn.

The Mac Python Framework launches GUI based applications using Python
Launcher, which gives a Rocketship icon on the Dock and inserts a
Python menu on the Mac menubar.

1. I wish to override the Rocketship icon and display an icon
representing my Application.

2. I wish to override/remove the Python menu item on the toolbar so
that only my wxPython menus appear on the Mac toolbar when my program
has focus.

3. I don't suppose there is an easy way to make an application folder
in the Mac OS X Application folder representing my python program with
the same Icon that would appear on the Dock when the user launches my
program? I don't see any easy references to the folder structure for
Python programmers to deploy on the OS X platform. Is there any good
resources out there that will teach how to do this?

I noticed that there is a "Build Applet" program on the Mac, and it
prompts to select Source or Python file. However all the .py files are
grayed out when I browse any directory on my USB Drive. I had small
hopes it would help build the folder structure mentioned in Item#3 so
I could then learn how to build a DMG file that will let a user drag
the Icon/folder representing my program into the Applications folder
to install it.

What are some good resources to learn how to deploy on this platform?

Cheers,
PN


More information about the Pythonmac-SIG mailing list