changeset 63 | 0db16d6b3617 |
parent 47 | 189f331c7960 |
62:53e798708413 | 63:0db16d6b3617 |
---|---|
1 """ |
1 """ |
2 Resource management |
2 Resource management |
3 """ |
3 """ |
4 |
4 |
5 import filesystem |
|
6 |
|
5 import pkg_resources |
7 import pkg_resources |
6 |
8 |
7 # path to package template files |
9 # dir containing package resource files |
8 TEMPLATE_DIR = pkg_resources.resource_filename('degal', 'templates') |
10 STATIC_DIR = filesystem.Root(pkg_resources.resource_filename('degal', 'static')) |
9 STATIC_DIR = pkg_resources.resource_filename('degal', 'static') |
|
10 |
11 |