You don't, optimize is broken. It might work if you're using py2app from svn.
Or you can use this few line workaround:
http://article.gmane.org/gmane.comp.mobile.bitpim.devel/1779
The "bootstrap=" line should be indented inside the if (ie at the same level as 'import py2app').
Roger _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig