1. Check the zipped size<br>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.<br>
<br><br><div class="gmail_quote">2009/6/11 Björn Häuser <span dir="ltr"><<a href="mailto:bjoernhaeuser@googlemail.com">bjoernhaeuser@googlemail.com</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;">
Scott Frankel schrieb:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">
<br>
Thanks for sharing the tutorial. In my case, it's quite timely.<br>
<br>
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.)<br>
<br>
Thanks!<br>
Scott<br>
<br>
<br>
> What's the best way to declare sqldrivers in a py2app setup.py file?<br>
<br>
> 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.<br>
<br>
> Does libqsqlpsql.dylib (which I have in my development downloads) need to be copied to the app bundle manually? If so, to where?<br>
<br>
> My setup.py file is attached.<br>
<br>
> I've found numerous hits on how to build PyQt apps using py2app, but none illustrate including db support files.<br>
<br>
<br>
<br>
On Jun 10, 2009, at 3:32 AM, piotr maliñski wrote:<br>
<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">
I've made two how-tos describing about building (and troubleshooting) standalone apps from PyQt4 scripts on Mac OS X and MS WIndows.<br>
<br>
English version:<br>
<a href="http://www.rkblog.rk.edu.pl/w/p/building-standalone-ms-windows-apps-py2exe/" target="_blank">http://www.rkblog.rk.edu.pl/w/p/building-standalone-ms-windows-apps-py2exe/</a><br>
<a href="http://www.rkblog.rk.edu.pl/w/p/building-mac-os-x-applications-py2app/" target="_blank">http://www.rkblog.rk.edu.pl/w/p/building-mac-os-x-applications-py2app/</a><br>
<br>
Polish version:<br>
<a href="http://www.python.rk.edu.pl/w/p/budowanie-binarnych-aplikacji-mac-os-x-za-pomoca-py2app/" target="_blank">http://www.python.rk.edu.pl/w/p/budowanie-binarnych-aplikacji-mac-os-x-za-pomoca-py2app/</a><br>
<a href="http://www.python.rk.edu.pl/w/p/budowanie-binarnych-paczek-aplikacji-pyqt4-pod-ms-windows/" target="_blank">http://www.python.rk.edu.pl/w/p/budowanie-binarnych-paczek-aplikacji-pyqt4-pod-ms-windows/</a><br>
<br>
<br>
_______________________________________________<br></div></div>
PyQt mailing list <a href="mailto:PyQt@riverbankcomputing.com" target="_blank">PyQt@riverbankcomputing.com</a> <mailto:<a href="mailto:PyQt@riverbankcomputing.com" target="_blank">PyQt@riverbankcomputing.com</a>><div class="im">
<br>
<a href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt" target="_blank">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br>
</div></blockquote>
<br>
<br>
<br>
------------------------------------------------------------------------<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
------------------------------------------------------------------------<div class="im"><br>
<br>
_______________________________________________<br>
PyQt mailing list <a href="mailto:PyQt@riverbankcomputing.com" target="_blank">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>
</div></blockquote>
<br>
Hello,<br>
<br>
i tried this tutorial for py2app to build my app.<br>
Is works perfectly, but greats a .app with 100mb size,<br>
is there any possibility to create a smaller .app?<br>
<br>
Thanks in advance,<br><font color="#888888">
Björn<br>
</font></blockquote></div><br>