degal/resources.py
author Tero Marttila <terom@fixme.fi>
Wed, 03 Jun 2009 19:40:35 +0300
branchuse-distutils
changeset 47 189f331c7960
child 63 0db16d6b3617
permissions -rw-r--r--
fix template to use pkg_resources, bin/degal does now run
"""
    Resource management
"""

import pkg_resources

# path to package template files
TEMPLATE_DIR   = pkg_resources.resource_filename('degal', 'templates')
STATIC_DIR      = pkg_resources.resource_filename('degal', 'static')