[Pythonmac-SIG] py2app warning: may need to include email.Util

2007-01-16 Thread Russell E Owen
My py2app-bundled Mac application recently started failing with "no module named email.Util" when trying to display images. It turns out pyfits uses urllib which uses email.Util, which apparently has been renamed email.util with some kind of clever lazy import code so one can still use email.Ut

Re: [Pythonmac-SIG] py2app warning: may need to include email.Util

2007-01-16 Thread Ronald Oussoren
On 16 Jan, 2007, at 22:20, Russell E Owen wrote: My py2app-bundled Mac application recently started failing with "no module named email.Util" when trying to display images. It turns out pyfits uses urllib which uses email.Util, which apparently has been renamed email.util with some kind of clev

Re: [Pythonmac-SIG] py2app warning: may need to include email.Util

2007-01-16 Thread Russell E Owen
At 10:35 PM +0100 1/16/07, Ronald Oussoren wrote: >On 16 Jan, 2007, at 22:20, Russell E Owen wrote: > >>My py2app-bundled Mac application recently started failing with "no >>module named email.Util" when trying to display images. It turns out >>pyfits uses urllib which uses email.Util, which appare

Re: [Pythonmac-SIG] py2app warning: may need to include email.Util

2007-01-16 Thread Russell E Owen
At 3:01 PM -0800 1/16/07, Russell E Owen wrote: >The following recipe seems to work, but I don't know if it's really >the right way to go. It is based on extrapolating from the current >recipes. None of them seem to do the same job and I've not found any >docs on writing recipes: > >def check(cm