## -*- coding: utf-8; mode: python; -*-
# -*- coding: utf-8; -*-
"""
Pyramid event subscribers
"""

import ${python_name}


def add_${python_name}_to_context(event):
    renderer_globals = event
    renderer_globals['${python_name}'] = ${python_name}


def includeme(config):
    config.include('tailbone.subscribers')
    config.add_subscriber(add_${python_name}_to_context, 'pyramid.events.BeforeRender')
