From 93328022a47ae7ac7a24b48d934ac430d99d8905 Mon Sep 17 00:00:00 2001 From: Michael Elkins Date: Thu, 3 Mar 2011 00:01:17 +0000 Subject: put django project templates into $top/rpkid/rpki/gui/templates django templates should be installed as APP/templates/APP/template.html to avoid namespace clashes svn path=/rpkid/portal-gui/Makefile.in; revision=3709 --- rpkid/setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'rpkid/setup.py') diff --git a/rpkid/setup.py b/rpkid/setup.py index 6b397e45..4efe523b 100644 --- a/rpkid/setup.py +++ b/rpkid/setup.py @@ -48,7 +48,8 @@ setup(name = "rpkitoolkit", url = "http://www.rpki.net/", packages = ["rpki", "rpki.POW", "rpki.gui", "rpki.gui.app" ], ext_modules = [pow], - package_data = { 'rpki.gui.app' : [ 'templates/*.html' ] }, + package_data = {'rpki.gui' : ['templates/*.html', 'templates/registration/*.html'], + 'rpki.gui.app' : ['templates/rpkigui/*.html']}, # bdist_rpm seems to get confused by relative names for scripts, # so we have to prefix the source name of anything here with the -- cgit v1.2.3