|
From: Steve C. <ste...@ya...> - 2004-11-09 14:51:59
|
On Tue, 2004-11-09 at 20:14, matthew arnison wrote:
> Thanks heaps. That made things quiet once more.
>
> While I was in there I noticed the stanza at the top which includes:
>
> import pygtk
> pygtk.require('2.0')
>
> Can I suggest wrapping this with a check for py2exe? Like so:
>
> if not hasattr(sys, 'frozen'):
> import pygtk
> pygtk.require('2.0')
>
> This is because pygtk.require does not work with py2exe.
I changed the code in cvs to
import pygtk
if not hasattr(sys, 'frozen'):
pygtk.require('2.0')
I think that should fix it.
Steve
|