]> review.fuel-infra Code Review - openstack-build/horizon-build.git/commitdiff
Fix templates installation
authorJulien Danjou <julien@danjou.info>
Wed, 30 Nov 2011 13:38:23 +0000 (14:38 +0100)
committerJulien Danjou <julien@danjou.info>
Wed, 30 Nov 2011 13:40:03 +0000 (14:40 +0100)
Signed-off-by: Julien Danjou <julien@danjou.info>
Rewritten-From: 51ef67edf9ca4cfff5d7b7fd24904b2838a3ff9b

xenial/debian/patches/fix_templates_installation [new file with mode: 0644]
xenial/debian/patches/series

diff --git a/xenial/debian/patches/fix_templates_installation b/xenial/debian/patches/fix_templates_installation
new file mode 100644 (file)
index 0000000..35a5be5
--- /dev/null
@@ -0,0 +1,21 @@
+Description: Add missing templates install in setup.py
+Author: Julien Danjou <acid@debian.org>
+
+---
+Origin: other
+Forwarded: https://review.openstack.org/#change,1965
+Last-Update: 2011-11-30
+
+--- horizon-2012.1~e1.orig/horizon/setup.py
++++ horizon-2012.1~e1/horizon/setup.py
+@@ -37,7 +37,9 @@ setup(
+     packages = find_packages(),
+     package_data = {'horizon':
+                         [s[len('horizon/'):] for s in
+-                         findall('horizon/templates')]},
++                         findall('horizon/templates') \
++                             + findall('horizon/dashboards/nova/templates') \
++                             + findall('horizon/dashboards/settings/templates')]},
+     install_requires = ['setuptools', 'mox>=0.5.3', 'django_nose'],
+     classifiers = [
+         'Development Status :: 4 - Beta',
index 490ead5ccc989c4c12ae10e1e30cceb40350136f..36a49ccf553c6e1d3c127b73c8443623a47df120 100644 (file)
@@ -1,3 +1,4 @@
 3e8413be302d8c75da8996a6e3b73d619b2e7b34
 fix_django.wsgi_sys.path
 remove_django_mailer
+fix_templates_installation