On Apr 24, 2005, at 12:20 AM, Kevin Walzer wrote:

In anticipation of repackaging my Python developer tools for Tiger, I
gave py2applet (the gui droplet) a try, since I wasn't quite sure how it
worked. I had been playing with a PyQt app called mindmap, so I decided
to use this as a test case. I dragged and dropped the main launcher
script on the py2applet icon, and it proceeded to create a standalone
package complete with PyQt libraries stuffed in! This was quite
unexpected: I guess I thought py2applet worked in the same way that
buildapplet did.

Hell no, py2app exists because buildapplet/bundlebuilder sucks.

Is it this easy? I realize that I will need to edit the info.plist and
icon bits to get it completely customized (since I didn't use a py2app
setup script), but this blows my mind. Is py2applet really this simple?

Yes, it really is that easy. Actually, if you want to keep the drag+drop workflow you can drag an icns file and Info.plist template and it will use those. Any data files you drag in will go right into Resources (which is the current directory upon startup) too.


I suggest stripping down the Info.plist file down to only the keys you would like to customize, though, so you don't end up overriding something py2app ought to control. It fills in the blanks for anything necessary.

-bob

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to