degal/resources.py
author Tero Marttila <terom@fixme.fi>
Sun, 14 Jun 2009 22:52:07 +0300
changeset 118 60b126ff0b74
parent 63 0db16d6b3617
permissions -rw-r--r--
configuration magic - can now load configuration data from ./degal.cfg, --config, folder/degal.cfg
"""
    Resource management
"""

import filesystem

import pkg_resources

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