changeset 63 | 0db16d6b3617 |
parent 47 | 189f331c7960 |
--- a/degal/resources.py Fri Jun 05 21:48:56 2009 +0300 +++ b/degal/resources.py Fri Jun 05 21:50:33 2009 +0300 @@ -2,9 +2,10 @@ Resource management """ +import filesystem + import pkg_resources -# path to package template files -TEMPLATE_DIR = pkg_resources.resource_filename('degal', 'templates') -STATIC_DIR = pkg_resources.resource_filename('degal', 'static') +# dir containing package resource files +STATIC_DIR = filesystem.Root(pkg_resources.resource_filename('degal', 'static'))