degal/resources.py
author Tero Marttila <terom@fixme.fi>
Wed, 10 Jun 2009 23:33:28 +0300
changeset 84 891545a38a2b
parent 63 0db16d6b3617
permissions -rw-r--r--
change utils.LazyProperty to store the cached value using obj.__dict__
"""
    Resource management
"""

import filesystem

import pkg_resources

# dir containing package resource files
STATIC_DIR = filesystem.Root(pkg_resources.resource_filename('degal', 'static'))