degal/resources.py
author Tero Marttila <terom@fixme.fi>
Thu, 11 Jun 2009 22:50:21 +0300
changeset 96 d9cf1e272e90
parent 63 0db16d6b3617
permissions -rw-r--r--
fix LazyProperty to not inherit from property, so as to act as a non-data descriptor, which can then be overriden by per-instance __dict__ values
"""
    Resource management
"""

import filesystem

import pkg_resources

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