+ has_py2exe = True
+ py2exe_keywords['console'] = [
+ { "script": join("bin", "openerp-server.py"),
+ "icon_resources": [(1, join("pixmaps","openerp-icon.ico"))]
+ }]
+ py2exe_keywords['options'] = {
+ "py2exe": {
+ "compressed": 1,
+ "optimize": 2,
+ "dist_dir": 'dist',
+ "packages": [
+ "lxml", "lxml.builder", "lxml._elementpath", "lxml.etree",
+ "lxml.objectify", "decimal", "xml", "xml", "xml.dom", "xml.xpath",
+ "encodings", "dateutil", "wizard", "pychart", "PIL", "pyparsing",
+ "pydot", "asyncore","asynchat", "reportlab", "vobject",
+ "HTMLParser", "select", "mako", "poplib",
+ "imaplib", "smtplib", "email", "yaml", "DAV",
+ "uuid", "commands",
+ ],
+ "excludes" : ["Tkconstants","Tkinter","tcl"],
+ }
+ }