I succeeded :))) And the winner is:
........................................................................ from distutils.core import setup import py2exe opts = { "py2exe": { "includes": ["pango", "atk", "gobject", "gtk","gtk.glade"], "dll_excludes": ["iconv.dll", "intl.dll", "libatk-1.0-0.dll", "libgdk_pixbuf-2.0-0.dll", "libgdk-win32-2.0-0.dll", "libglib-2.0-0.dll", "libgmodule-2.0-0.dll", "libgobject-2.0-0.dll", "libgthread-2.0-0.dll", "libgtk-win32-2.0-0.dll", "libpango-1.0-0.dll", "libpangowin32-1.0-0.dll", "libxml2", "libglade-2.0-0", "zlib1"] } } setup( name = "PyGTKTest", description = "PyGTK Test Application", version = "0.1", windows = [{"script": "test.py", "icon_resources": [(1, "test.ico")]}], options=opts, data_files=[("", ["test.glade"])] ) ....................................................................... Py2exe reports an error if I try to use --force (the command doesn't exist), so I use only: python setup.py py2exe --exclude gobject,glib,gtk,glade,pango,atk,libglade,xml2,zlib After that I make a new directory, say MyApp, copy the entire content of the GTK folder (I'm using the GTK Runtime Enviroment from gladewin32.sourceforge.net) in MyApp, and then copy the content of the dist folder into MyApp\bin. Now I can uninstall GTK Runtime Enviroment, and Python, and it works :). But it's pretty big, what files can I remove? (OK, I know... locales, man pages, examples :), but what more - it's still > 20 MB?) -- http://mail.python.org/mailman/listinfo/python-list