Skip to content
Snippets Groups Projects
Commit 4c35983d authored by Christophe Monniez's avatar Christophe Monniez
Browse files

[FIX] packaging: avoid jinja2 asyncsupport in py2exe


Since 78ba90d5, when building the windows package, py2exe fails to
compiles jinja2 asyncsupport module. Even tough jinja detects the
environement, py2exe tries to compile the async part. The problem comes
from the fact that async keyword was introduced in python 3 and we use
py2exe with python 2.7.

With this commit the async part of jinja is execluded from py2exe.

closes odoo/odoo#32913

Signed-off-by: default avatarOlivier Dony (odo) <odo@openerp.com>
parent 90af6254
No related branches found
No related tags found
No related merge requests found
......@@ -112,7 +112,7 @@ def py2exe_options():
'xml', 'xml.dom',
'yaml',
],
'excludes': ['Tkconstants', 'Tkinter', 'tcl'],
'excludes': ['jinja2.asyncsupport', 'Tkconstants', 'Tkinter', 'tcl'], # do not forward-port 11.0 does not use py2exe
}
},
'data_files': py2exe_datafiles()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment