Browse Source

Prevent TCL/TK from being added to the Windows binary distribution.

(Required since upgrading to ActivePython 2.5.4.3 and Py2exe 0.6.9).
tags/0.6.0
shypike 16 years ago
parent
commit
08c59aeee2
  1. 11
      main/setup.py

11
main/setup.py

@ -302,7 +302,16 @@ elif target == 'binary':
sys.argv[1] = 'py2exe'
program = [ {'script' : 'SABnzbd.py', 'icon_resources' : [(0, "sabnzbd.ico")] } ]
options['options'] = {"py2exe": {"bundle_files": 3, "packages": "email,xml,Cheetah", "optimize": 2, "compressed": 0}}
options['options'] = {"py2exe":
{
"bundle_files": 3,
"packages": "email,xml,Cheetah",
"excludes": ["pywin", "pywin.debugger", "pywin.debugger.dbgcon", "pywin.dialogs",
"pywin.dialogs.list", "Tkconstants", "Tkinter", "tcl"],
"optimize": 2,
"compressed": 0
}
}
options['zipfile'] = 'lib/sabnzbd.zip'
# Generate the console-app

Loading…
Cancel
Save