I packed a Python script (that uses pyGTK) into an .exe with py2exe. It runs fine, except that the normal GTK theme does not show up. This is what it looks like when I run the script:
http://img33.imageshack.us/img33/4080/16sepwed1827.png
And this is what it looks like when I run the .exe from the "dist" directory:
http://img198.imageshack.us/img198/4616/16sepwed1826.png
I read that, to provide necessary GTK themes and other data, you need to copy the etc, lib, and share directories from the GTK runtime folder into the dist directory. I tried that, but I get the same result. No normal theme.
I'm running the program in a Windows 7 VM.
Also, here is my setup.py:
from distutils.core import setup
import py2exe, sys, os
sys.argv.append('py2exe')
setup(
options = {'py2exe': {'bundle_files': 1, 'includes': 'cairo, pango, pangocairo, atk, gobject'}},
windows = [{'script': "countdowntimer.py"}],
data_files = [('.', ['countdowntimer.xml'])],
zipfile = None,
)