include_dll_path = os.path.join(site_dir, 'gtk')
missing_dll = ['libgtk-3-0.dll', 'libgdk-3-0.dll', 'libatk-1.0-0.dll',
    'libcairo-gobject-2.dll', 'libgdk_pixbuf-2.0-0.dll', 'libjpeg-8.dll',
    'libpango-1.0-0.dll', 'libpangocairo-1.0-0.dll',
    'libpangoft2-1.0-0.dll', 'libpangowin32-1.0-0.dll', 'libgnutls-26.dll',
    'libgcrypt-11.dll', 'libp11-kit-0.dll']
glade_folder = 'glade'
gtk_libs = ['etc', 'lib', 'share']
include_files = []
for dll in missing_dll:
    include_files.append((os.path.join(include_dll_path, dll), dll))
include_files.append((glade_folder, glade_folder))
for lib in gtk_libs:
    include_files.append((os.path.join(include_dll_path, lib), lib))
base = None
if sys.platform == 'win32':
    base = 'Win32GUI'
executables = [Executable('main.py', base=base)]
buildOptions = dict(compressed=False, includes=['gi'], packages=['gi'],
    include_files=include_files)
setup(name='test_gtk3_app', author='Gian Mario Tagliaretti', version='1.0',
    description='GTK 3 test', options=dict(build_exe=buildOptions),
    executables=executables)
Bundling GTK3+ with py2exe