Skip to content

Instantly share code, notes, and snippets.

@vkolev
Created April 17, 2011 16:05
Show Gist options
  • Save vkolev/924167 to your computer and use it in GitHub Desktop.
Save vkolev/924167 to your computer and use it in GitHub Desktop.
pyexe setup file for windows
from distutils.core import setup
import py2exe
opts = {
'py2exe': {
'includes': 'pango,atk,gobject',
'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'],
}
}
setup(
name = 'GTKbin',
description = 'Irgendein GTK Programm',
version = '0.8.5',
windows = [
{'script' : 'gtkprog.py'}
],
options=opts
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment