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

Ronald Oussoren ronaldoussoren at mac.com
Thu Mar 15 01:41:16 CET 2012


Py2app does indeed see all backends and therefore copies basicly every GUI library it can find into your bundle. 

Note that the recipe lines in the output don't necessarily mean anything, py2app prints something when it calls a recipe. 

Ronald

Sent from my iPhone

On 14 mrt. 2012, at 14:55, Chris Barker <chris.barker at noaa.gov> wrote:

> On Wed, Mar 14, 2012 at 2:24 PM, Carlos Grohmann
> <carlos.grohmann at gmail.com> wrote:
>> I don't use sip at all. don't know why it's been used by py2app.
> 
> one guess -- there is an optional QT back-end to matplotlib -- is
> py2app picking that up (It may drag in TK and even GTK, too). MIght be
> worth taking a look.
> 
> -Chris
> 
> 
> 
> 
> 
>> Carlos
>> 
>> On Wed, Mar 14, 2012 at 17:46, Chris Barker <chris.barker at noaa.gov> wrote:
>>> 
>>> Nothing to do with your issue (I don't think) but:
>>> 
>>> 
>>> On Tue, Mar 13, 2012 at 5:17 PM, Carlos Grohmann > *** using recipe:
>>> virtualenv ***
>>>> *** using recipe: sip ***
>>>> *** using recipe: matplotlib ***
>>>> *** using recipe: numpy ***
>>>> *** using recipe: wx ***
>>> 
>>> recipe sip is usually used for PyQT (as sip is used to build pyQT) It
>>> seems odd that you'd have both SIP and wx in one app.
>>> 
>>> Or is sip used fro something else that you're using?
>>> 
>>> -Chris
>>> 
>>> --
>>> 
>>> Christopher Barker, Ph.D.
>>> Oceanographer
>>> 
>>> Emergency Response Division
>>> NOAA/NOS/OR&R            (206) 526-6959   voice
>>> 7600 Sand Point Way NE   (206) 526-6329   fax
>>> Seattle, WA  98115       (206) 526-6317   main reception
>>> 
>>> Chris.Barker at noaa.gov
>>> _______________________________________________
>>> Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
>>> http://mail.python.org/mailman/listinfo/pythonmac-sig
>>> unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG
>> 
>> 
>> 
>> 
>> --
>> Prof. Carlos Henrique Grohmann - Geologist D.Sc.
>> Institute of Geosciences - Univ. of São Paulo, Brazil
>> ---
>> http://www.igc.usp.br/pessoais/guano
>> http://www.igc.usp.br/openstereo
>> http://lattes.cnpq.br/5846052449613692 (CV)
>> ---
>> Twitter: @CarlosGrohmann
>> http://carlosgrohmann.tumblr.com/
>> ________________
>> Can’t stop the signal.
> 
> 
> 
> -- 
> 
> Christopher Barker, Ph.D.
> Oceanographer
> 
> Emergency Response Division
> NOAA/NOS/OR&R            (206) 526-6959   voice
> 7600 Sand Point Way NE   (206) 526-6329   fax
> Seattle, WA  98115       (206) 526-6317   main reception
> 
> Chris.Barker at noaa.gov
> _______________________________________________
> Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig
> unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4812 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20120314/3f19aac2/attachment.bin>


More information about the Pythonmac-SIG mailing list