Skip to content

Clarify how to use the ext namespace and RendererEngine #12

Description

@lmergner

I'm trying to build a growler-jinja extension by copying growler-jade and growler.renderer.RendererEngine. However, I'm getting an import error running from the REPL (after a pip install -e .):

>>> from growler.ext import JinjaRenderer
ImportError: No module named 'growler_ext.JinjaRenderer

I don't fully understand setuptools namespaces, so this is partly my own ignorance.

I also see that the api for subclassing RenderEngine has changed subtly. Does the growler-jade source reflect the current api?

After using node's koa framework, I'm excited to try to port my Flask app to Growler.

ubuntu 16
python 3.5.2
virtualenv 15.0.2
setuptools 26.0.0
growler 0.7.5

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions