debugtoolbar expects mako to be in pyramid but should import it from pyramid_mako in the future.
want to do all templating with string interpolation ;) We really need a template engine here, I have switched the original from jinja2 to mako a few months ago.
sorry Blaise I don't mean without a template compiler in debugtoolbar. I mean if we remove mako and chameleon from pyramid then we need to do more than: pyramid.includes = pyramid_debugtoolbar we will need:
pyramid.includes = pyramid_debugtoolbar
in the scaffolds or some other way...or something
sorry... my bad... yes we should add the dependency in the scaffold ini and setup.py file
I'm thinking that pyramid_mako should work via an include with 1.2 and 1.3, and basically "do no harm" (hopefully it won't conflict). That should make it pretty easy to satisfy the toolbar's dependency on pyramid_mako without needing two separate versions of the toolbar.
And rather than:
I think it'd just be:
And the includeme of pyramid_debugtoolbar will go ahead and rely on creating its own mako renderer, like it does now, but import the stuff from pyramid_mako rather than from pyramid.mako_templating.
Yup, pyramid_debugtoolbar includes pyramid_mako directly now so this shouldn't be a problem.