summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorVo Minh Thu <vmt@openerp.com>2013-03-08 14:38:39 +0100
committerVo Minh Thu <vmt@openerp.com>2013-03-08 14:38:39 +0100
commitf808357a067c37140db7fb6200f104f32ee0057b (patch)
tree9d8a792e82d87bc08f695990f312750bc3fef4c8 /setup.py
parente866c2c5231f0ac820d2b7d2a42877f5dbaaf1a7 (diff)
[FIX] py2exe: keep the code unoptimized (i.e. no -Ox).
This is necessary to keep assert statements throwing AssertException, which are tested by our test suite, which is integrated to the server. bzr revid: vmt@openerp.com-20130308133839-mxwfnchbarbjb7g9
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 1229a6ca9bf..ae349d4241d 100755
--- a/setup.py
+++ b/setup.py
@@ -74,7 +74,7 @@ def py2exe_options():
'options' : {
"py2exe": {
"skip_archive": 1,
- "optimize": 2,
+ "optimize": 0, # keep the assert running, because the integrated tests rely on them.
"dist_dir": 'dist',
"packages": [ "DAV", "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", ],
"excludes" : ["Tkconstants","Tkinter","tcl"],