degal/resources.py
branchuse-distutils
changeset 47 189f331c7960
child 63 0db16d6b3617
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/degal/resources.py	Wed Jun 03 19:40:35 2009 +0300
@@ -0,0 +1,10 @@
+"""
+    Resource management
+"""
+
+import pkg_resources
+
+# path to package template files
+TEMPLATE_DIR   = pkg_resources.resource_filename('degal', 'templates')
+STATIC_DIR      = pkg_resources.resource_filename('degal', 'static')
+