Re: py2app questions..

Chris Barker - NOAA Federal <[email protected]>
Newsgroups gmane.comp.python.apple
Message-ID <CALGmxEKTdQMMj9e7o2DTyk-h7z9z_GYOtarf-1DrWy29z4xULw@mail.gmail.com>
Ronald,

Did you mean this to go to the list? I've forwarded it on...

Anyway, thanks for the notes -- I'll keep all this in mind when I
build that app again.

>> I've learned a few things from this.
>>
>> 1) this is odd:
>>  right near the top, I see:
>>     prescript.py
>>     imports: Image
>>  that's the prescript for the PIL recipe -- I"m not using PIL, it
>> seems it's runnign nthe recipe, and using what the recipe imported --
>> not good.
>
> Are you sure about not using PIL (if even indirectly)?

Now that i think about it again, I think MPL makes some optional use
of PIL -- that's probably it.

>> An idea how to tweak the MPL recipe to only pull in the backend we
>> need? is there a way to pass options to he recipes?
>
> I hope Guido doesn't mind that I've borrowed his time machine. Support for this was added in py2app 0.7:
>
> - Smarter matplotlib recipe, it is now possible to specify which backends should
>   be included. Issue #44, reported by Adam Kovics.

this is nice -- thanks!

>> 4) Ipython is getting pulled in my Matplotlib too:

> That should be fixable by excluding iPython.

I'll give that a shot.

thanks,
 -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

[email protected]
_______________________________________________
Pythonmac-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.