On 13 Jun 2014, at 21:45, Karsten Wolf <karste...@googlemail.com> wrote:

> Hi,
> 
> in an py2app app I replaced the thumbnail mechanism from sips (via os.system) 
> to Pillow. The resulting app size went from 11MB to 50 MB for the inclusion 
> of the complete TCL/TK stuff.
> 
> Is there an easy way to reduce that?
> 
> Both, Python 2.7.6 and Pillow are compiled for intel 32bit on OSX10.6

The quickest way is to explicitly exclude Tkinter using a py2app option.  You 
can also create a Pillow recipe based on the PIL one (in py2app.recipes.PIL), 
or update the PIL one when Pillow is imported the same way as PIL.

Ronald

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

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

Reply via email to