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

import {{package}}


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


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