summaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py14
1 files changed, 5 insertions, 9 deletions
diff --git a/setup.py b/setup.py
index 509a9b1bf..a1499e474 100644
--- a/setup.py
+++ b/setup.py
@@ -28,7 +28,9 @@ setup(cmdclass=cmdclass,
"Bcfg2.Server.Snapshots",
],
package_dir = {'Bcfg2':'src/lib'},
- package_data = {'Bcfg2.Server.Reports.reports':['fixtures/*.xml']},
+ package_data = {'Bcfg2.Server.Reports.reports':['fixtures/*.xml',
+ 'templates/*.html', 'templates/*/*.html',
+ 'templates/*/*.inc' ] },
scripts = glob('src/sbin/*'),
data_files = [('share/bcfg2/schemas',
glob('schemas/*.xsd')),
@@ -39,19 +41,13 @@ setup(cmdclass=cmdclass,
('share/man/man1', glob("man/bcfg2.1")),
('share/man/man5', glob("man/*.5")),
('share/man/man8', glob("man/*.8")),
- ('share/bcfg2/Reports/templates',
- glob('src/lib/Server/Reports/reports/templates/*.html')),
- ('share/bcfg2/Reports/templates/displays',
- glob('src/lib/Server/Reports/reports/templates/displays/*')),
- ('share/bcfg2/Reports/templates/clients',
- glob('src/lib/Server/Reports/reports/templates/clients/*')),
- ('share/bcfg2/Reports/templates/config_items',
- glob('src/lib/Server/Reports/reports/templates/config_items/*')),
('share/bcfg2/Hostbase/templates',
glob('src/lib/Server/Hostbase/hostbase/webtemplates/*.*')),
('share/bcfg2/Hostbase/templates/hostbase',
glob('src/lib/Server/Hostbase/hostbase/webtemplates/hostbase/*')),
('share/bcfg2/Hostbase/repo',
glob('src/lib/Server/Hostbase/templates/*')),
+ ('share/bcfg2/site_media',
+ glob('reports/site_media/*')),
]
)