[FIX] setup.py: correct included packages in py2exe options
bzr revid: nightly_server-20140403123144-pm4dqs04dbfmv1p8
This commit is contained in:
parent
9588999c7c
commit
438025dac8
41
setup.py
41
setup.py
|
@ -39,7 +39,7 @@ def data():
|
||||||
# but this will work fine (especially since we don't use the ZIP file
|
# but this will work fine (especially since we don't use the ZIP file
|
||||||
# approach).
|
# approach).
|
||||||
r["babel/localedata"] = glob.glob(os.path.join(os.path.dirname(babel.__file__), "localedata", '*'))
|
r["babel/localedata"] = glob.glob(os.path.join(os.path.dirname(babel.__file__), "localedata", '*'))
|
||||||
others = ['global.dat', 'numbers.py', 'support.py']
|
others = ['global.dat', 'numbers.py', 'support.py', 'plural.py']
|
||||||
r["babel"] = map(lambda f: os.path.join(os.path.dirname(babel.__file__), f), others)
|
r["babel"] = map(lambda f: os.path.join(os.path.dirname(babel.__file__), f), others)
|
||||||
others = ['frontend.py', 'mofile.py']
|
others = ['frontend.py', 'mofile.py']
|
||||||
r["babel/messages"] = map(lambda f: os.path.join(os.path.dirname(babel.__file__), "messages", f), others)
|
r["babel/messages"] = map(lambda f: os.path.join(os.path.dirname(babel.__file__), "messages", f), others)
|
||||||
|
@ -75,7 +75,42 @@ def py2exe_options():
|
||||||
"skip_archive": 1,
|
"skip_archive": 1,
|
||||||
"optimize": 0, # keep the assert running, because the integrated tests rely on them.
|
"optimize": 0, # keep the assert running, because the integrated tests rely on them.
|
||||||
"dist_dir": 'dist',
|
"dist_dir": 'dist',
|
||||||
"packages": ["HTMLParser", "PIL", "asynchat", "asyncore", "commands", "dateutil", "decimal", "docutils", "email", "encodings", "imaplib", "jinja2", "lxml", "lxml._elementpath", "lxml.builder", "lxml.etree", "lxml.objectify", "mako", "openerp", "poplib", "pychart", "pydot", "pyparsing", "pytz", "reportlab", "select", "simplejson", "smtplib", "uuid", "vatnumber", "vobject", "xml", "xml.dom", "yaml", ],
|
"packages": [
|
||||||
|
"HTMLParser",
|
||||||
|
"PIL",
|
||||||
|
"asynchat", "asyncore",
|
||||||
|
"commands",
|
||||||
|
"dateutil",
|
||||||
|
"decimal",
|
||||||
|
"docutils",
|
||||||
|
"email",
|
||||||
|
"encodings",
|
||||||
|
"imaplib",
|
||||||
|
"jinja2",
|
||||||
|
"lxml", "lxml._elementpath", "lxml.builder", "lxml.etree", "lxml.objectify",
|
||||||
|
"mako",
|
||||||
|
"markupsafe", # dependence of jinja2 and mako
|
||||||
|
"mock",
|
||||||
|
"openerp",
|
||||||
|
"poplib",
|
||||||
|
"psutil",
|
||||||
|
"pychart",
|
||||||
|
"pydot",
|
||||||
|
"pyparsing",
|
||||||
|
"pytz",
|
||||||
|
"reportlab",
|
||||||
|
"requests",
|
||||||
|
"select",
|
||||||
|
"simplejson",
|
||||||
|
"smtplib",
|
||||||
|
"uuid",
|
||||||
|
"vatnumber",
|
||||||
|
"vobject",
|
||||||
|
"win32service", "win32serviceutil",
|
||||||
|
"xlwt",
|
||||||
|
"xml", "xml.dom",
|
||||||
|
"yaml",
|
||||||
|
],
|
||||||
"excludes" : ["Tkconstants","Tkinter","tcl"],
|
"excludes" : ["Tkconstants","Tkinter","tcl"],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -151,7 +186,7 @@ setuptools.setup(
|
||||||
extras_require = {
|
extras_require = {
|
||||||
'SSL' : ['pyopenssl'],
|
'SSL' : ['pyopenssl'],
|
||||||
},
|
},
|
||||||
tests_require = ['unittest2'],
|
tests_require = ['unittest2', 'mock'],
|
||||||
**py2exe_options()
|
**py2exe_options()
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue