This really isn't PyQt4 related. Look at the py2exe faq, it lists common modules you can ignore when building your exe.
You can also try UPX: http://upx.sourceforge.net/ handrix wrote: > > Hi, > > I build a exe program with py2exe, and it size is about 8M. > The program is very simple, it's a widget that contain too lineedit and a > button, it's based on pyqt. > Please is there a way to resize the file for small one. > > Regards, > > -- > Ali MEZGANI > Network Engineering/Security > http://securfox.wordpress.com/ > > _______________________________________________ > PyQt mailing list PyQt@riverbankcomputing.com > http://www.riverbankcomputing.com/mailman/listinfo/pyqt > -- View this message in context: http://www.nabble.com/How-to-slim-programs-under-windows-tp23745556p23764146.html Sent from the PyQt mailing list archive at Nabble.com. _______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt