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