Anyone know py2app really well?

Want to help on a cool open source application?

I’ve been plugging away at Brevity. I have it working pretty damn well on the pc, both in native Python, and compiled into an .exe with py2exe. I also have it working just as well on the Mac. In fact, I’m doing almost all Brevity development – both Python and ActionScript on the Mac, since my pc has been in the shop for a couple of weeks now.

I have managed to use py2app to create a Mac app that does not require Python/wxPython to run. But it’s not really working that well. I’ve learned that the app it creates is really like a special directory containing a python interpreter and all necessary packages, and running the app just runs the Python script in the directory. All cool, but the paths wind up all wrong. The Python script considers its “current directory” as the directory it’s in within the app, as opposed to the directory the app is in.

I was also getting really huge apps. Like 27 megs for a hello world app. Turns out that the current version of py2app copies all the Python documentation files into the app! Oops. Apparently the latest version on svn fixes this, but brings some other problems as it’s the first universal binary build. I’ve just been deleting the documentation out of there after I build.

So ideally, I’m looking for someone who really knows py2app who can become part of the Brevity team, and build out a decent setup script that will turn it into as small an app as possible that just works right.

This entry was posted in Brevity. Bookmark the permalink.

Leave a Reply