Maybe something from the code is pulling this in? Hard to say. Try deleting qtwebkit from the app - will the app run after that?
2009/6/11 Björn Häuser <[email protected]> > piotr maliński schrieb: > >> 1. Check the zipped size >> 2. go to the app (show package contents) and see what did it included - >> detele all _debug libraries if there are any (aliases and the original >> files), and if it added unused PyQt4/other components - exclude them in the >> py2app config :) My QtCore/QtGui/simplejson app is 12MB zipped. >> >> >> 2009/6/11 Björn Häuser <[email protected] <mailto: >> [email protected]>> >> >> >> Scott Frankel schrieb: >> >> >> Thanks for sharing the tutorial. In my case, it's quite timely. >> >> Would you have any suggestions for including sqldriver support >> in an py2app project? I still have not gotten that to work and >> haven't found relevant info in my searches. (Reference my email >> to the list: "QPSQL and py2app" on 2009-09-09.) >> >> Thanks! >> Scott >> >> >> > What's the best way to declare sqldrivers in a py2app >> setup.py file? >> >> > I'm in the throes of building my app for OSX, using py2ap for >> the first time. One of the issues I'm still facing is how to >> include PostgreSQL support and the QPSQL driver in the build >> process. I'm building using tools and libraries from MacPorts, >> (python25) which doesn't appear to have installed sqldrivers. >> >> > Does libqsqlpsql.dylib (which I have in my development >> downloads) need to be copied to the app bundle manually? If so, >> to where? >> >> > My setup.py file is attached. >> >> > I've found numerous hits on how to build PyQt apps using >> py2app, but none illustrate including db support files. >> >> >> >> On Jun 10, 2009, at 3:32 AM, piotr maliński wrote: >> >> I've made two how-tos describing about building (and >> troubleshooting) standalone apps from PyQt4 scripts on Mac >> OS X and MS WIndows. >> >> English version: >> >> http://www.rkblog.rk.edu.pl/w/p/building-standalone-ms-windows-apps-py2exe/ >> >> http://www.rkblog.rk.edu.pl/w/p/building-mac-os-x-applications-py2app/ >> >> Polish version: >> >> http://www.python.rk.edu.pl/w/p/budowanie-binarnych-aplikacji-mac-os-x-za-pomoca-py2app/ >> >> http://www.python.rk.edu.pl/w/p/budowanie-binarnych-paczek-aplikacji-pyqt4-pod-ms-windows/ >> >> >> _______________________________________________ >> PyQt mailing list [email protected] >> <mailto:[email protected]> >> <mailto:[email protected] >> <mailto:[email protected]>> >> >> http://www.riverbankcomputing.com/mailman/listinfo/pyqt >> >> >> >> >> >> ------------------------------------------------------------------------ >> >> >> >> >> >> >> >> >> ------------------------------------------------------------------------ >> >> >> _______________________________________________ >> PyQt mailing list [email protected] >> <mailto:[email protected]> >> http://www.riverbankcomputing.com/mailman/listinfo/pyqt >> >> >> Hello, >> >> i tried this tutorial for py2app to build my app. >> Is works perfectly, but greats a .app with 100mb size, >> is there any possibility to create a smaller .app? >> >> Thanks in advance, >> Björn >> >> >> Thanks for this fast answer. > I use this setup.py: > http://pastie.org/509026 > > But QtWebKit is still included: > 32M dist/window.app//Contents/Frameworks/QtWebKit.framework > > What I am doing wrong? > > Thanks, > Björn >
_______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
