[Pythonmac-SIG] shrink app bundle size (removing unused stuff)?

Ronald Oussoren ronaldoussoren at mac.com
Sun Mar 11 01:46:31 CET 2012


On 10 Mar, 2012, at 15:02, Chris Barker wrote:

>> 2) I tweaked the matplotlib recipe in py2app, it no
>> longer copies the entire package but adds a hook to
>> tell matplotlib where its data is. This solution is not fully
>> complete yet, I'm currently including mpl-data twice
>> (once in Resources, once in site-packages.zip) and
>> the later copy is not needed.
> 
> also nice -- did you use:
> 
> matplotlib.get_py2exe_datafiles()

That seemed to have assumptions about how py2exe bundles applications. I currently set and environment variable in the bootstrap module and that seems to work fine.

Ronald
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4788 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20120310/de0be7d0/attachment.bin>


More information about the Pythonmac-SIG mailing list