On 12 Mar, 2012, at 11:34, João Vale wrote:

> 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

Cool trick, and it doesn't even rely on the developer tools.

I've filed an issue in the macholib tracker to remind me that this should be 
functionality in that library (which can then be used by py2app). Macholib 
already understands a  lot about the structure of mac binaries, with some luck 
it will be easy to remove architectures from binaries.

Ronald

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG

Reply via email to