degal/resources.py
author Tero Marttila <terom@fixme.fi>
Fri, 05 Jun 2009 21:46:43 +0300
changeset 60 406da27a4be2
parent 47 189f331c7960
child 63 0db16d6b3617
permissions -rw-r--r--
do some filesystem.Path stuff, and read_only mode
"""
    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')