I apologize for not being able to look into this in depth for you Yann, but I've been very busy. I would try to create as simple of an example as possible, isolating just the feature you need. I would also search mailing lists for pygtk issues. If I remember correctly, there were some pygtk issues on windows (in gobject) with earlies versions that are fixed in the latest versions, which just started to support windows. Create an isolated environment, get the latest gtk and pygtk with python 2.6. Understand how gtk/pygtk work with each other, and test a minimal app for py2exe.

-Chris

On Mon, May 17, 2010 at 9:07 AM, Yann Leboulanger <asterix@lagaule.org> wrote:
On 04/02/2010 10:12 AM, Yann Leboulanger wrote:
> Yann Leboulanger wrote:
>> Chris Wj wrote:
>>> Things I would try:
>>> - Make the gtk modules/libraries that you need included explicitly
>>> specified in the setup.py opts dict (both python modules and dlls).
>>> - Make sure your py2exe included the gtk compiled libraries (dlls) like
>>> _gtk.dll (_gtk.so on *nix).
>>
>> I include a full gtk installation in my program, so I have
>> libgtk-win32-2.0-0.dll file in bin/gtk (that I add to my PATH at the
>> begining of my program)
>> I also have gtk._gtk.pyd in the dist folder after I run py2exe.
>>
>>> I did a quick check and IconTheme is actually an Object that gets
>>> created at runtime. It is not defined in gtk's __init__.py, which is why
>>> the normal search path may not be working.
>>
>> So should I do something special?
>>
>> Thanks for your answer
>
> I'm still unable to make IconTheme work after I py2exe my application.
> Someone succeeded in that? Someone has an idea on this issue?
>
> Thanks for your help

Still nobody who uses PyGTK (and IconTheme) + Py2exe ?
No more idea on what I could try to fix that?

--
Yann

------------------------------------------------------------------------------

_______________________________________________
Py2exe-users mailing list
Py2exe-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/py2exe-users