degal/resources.py
author Tero Marttila <terom@fixme.fi>
Thu, 11 Jun 2009 21:40:12 +0300
changeset 91 17ae33501289
parent 63 0db16d6b3617
permissions -rw-r--r--
change Image.update to unconditionally update the thumb/preview
"""
    Resource management
"""

import filesystem

import pkg_resources

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