using cx_freeze on flask app
After many false trails trawling through the Flask and Jinga modules, I finally found the problem.
CXFreeze does not recognize that jinja2.ext is a dependency, and was not including it.
I fixed this by including import jinja2.ext
in one of the python files.
CXFreeze then added ext.pyc
to library.zip\jinja. (Copying it in manually after the build also works)
Just in case anyone else is mad enough to try use Flask to develop locally run apps :)