check out my tutorial: <a href="http://www.rkblog.rk.edu.pl/w/p/building-mac-os-x-applications-py2app/">http://www.rkblog.rk.edu.pl/w/p/building-mac-os-x-applications-py2app/</a><br><br>QtCore/QtGui app zipped should be about 12MB intel-only (22MB if you use Universal Qt - thus making universal py2app application)<br>
<br><div class="gmail_quote">2009/6/27 Michael Held <span dir="ltr"><<a href="mailto:michael.held@bc.biol.ethz.ch">michael.held@bc.biol.ethz.ch</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
hi pyqt,<br>
<br>
I am using PyQt4.5 and py2app 0.3.6 on MacOS 10.5<br>
<br>
> from setuptools import setup<br>
><br>
> APP = ['MyApp.py']<br>
> DATA_FILES = []<br>
> OPTIONS = {'argv_emulation': True,<br>
> 'includes': [],<br>
> }<br>
><br>
> setup(<br>
> app=APP,<br>
> data_files=DATA_FILES,<br>
> options={'py2app': OPTIONS},<br>
> setup_requires=['py2app'],<br>
> )<br>
<br>
running this setup.py PyQt4, sip and the Qt framework are detected and<br>
the app runs fine,<br>
<br>
*BUT* the app is 200MB (TWOHUNDRET MEGABYTES) big and its doing nothing<br>
but opening an empty QFrame.<br>
I looked into the app-contents and found a lot of debug stuff for the<br>
QtGui/QtCore Frameworks.<br>
<br>
after deleting these files the app was still running fine and only 42MB<br>
big (I found a lot of Pyhton libs/packages in there which are not used<br>
at all)<br>
<br>
42MB for an "empty program" is ok, since all my scripts will not add<br>
much size, but 200MB is just *too big*.<br>
it looks like py2app is including a lot of unnecessary stuff...<br>
could stackless Python 2.6.2 is the problem?<br>
<br>
thanks a lot for your help!<br>
michael<br>
<br>
_______________________________________________<br>
PyQt mailing list <a href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a><br>
<a href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt" target="_blank">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br>
</blockquote></div><br>