I run this command in my setup.py after the .app is generated, and it's been serving me well:
ditto --rsrc --arch i386 file.app new_file.app Cheers, João Vale * * * * On Mon, Mar 12, 2012 at 3:59 PM, Carlos Grohmann <carlos.grohm...@gmail.com>wrote: > Can I build for only one (i386) architecture? > > cheers > > Carlos > > > > On Sat, Mar 10, 2012 at 14:03, Ronald Oussoren <ronaldousso...@mac.com>wrote: > >> >> On 10 Mar, 2012, at 8:47, Ronald Oussoren wrote: >> >> > With this the application bundle already shrinks a little (curently 123 >> MByte, before I started it was about 160 MByte). About 70 Mbyte of this is >> wx itself (the wxWidgets library and wxPython extensions). Another 21 MByte >> is because all of numpy is included, not just the bits that are actually >> needed. That's because of another py2app recipe which can hopefully be >> improved. >> >> BTW. The size of the binaries is at least partially due to the support >> for multiple architectures, the python installer contains support for two >> architectures and wx even includes support for 3 different architectures. >> >> Ronald >> >> > > > -- > Prof. Carlos Henrique Grohmann - Geologist D.Sc. > Institute of Geosciences - Univ. of São Paulo, Brazil > --- > http://www.igc.usp.br/pessoais/guano > http://digitalelevation.wordpress.com/ > http://lattes.cnpq.br/5846052449613692 (CV) > --- > Twitter: @CarlosGrohmann > http://carlosgrohmann.tumblr.com/ > ________________ > Can’t stop the signal. > > _______________________________________________ > Pythonmac-SIG maillist - Pythonmac-SIG@python.org > http://mail.python.org/mailman/listinfo/pythonmac-sig > unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG > >
_______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG