summaryrefslogtreecommitdiffstats
path: root/setup.py
blob: 85538dd29db9b47b2870bfb1c2f0a1910cfd1d47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#!/usr/bin/env python

from distutils.core import setup
from glob import glob

setup(name="Bcfg2",
      version="0.9.6",
      description="Bcfg2 Server",
      author="Narayan Desai",
      author_email="desai@mcs.anl.gov",
      packages=["Bcfg2", 
                "Bcfg2.Client", 
                "Bcfg2.Client.Tools",
                'Bcfg2.Server', 
                "Bcfg2.Server.Admin",
                "Bcfg2.Server.Hostbase", 
                "Bcfg2.Server.Hostbase.hostbase", 
                "Bcfg2.Server.Plugins", 
                "Bcfg2.Server.Reports", 
                "Bcfg2.Server.Reports.reports",
                "Bcfg2.Server.Reports.reports.templatetags",
                "Bcfg2.tlslite",
                "Bcfg2.tlslite.utils",
                "Bcfg2.tlslite.integration",
                ],
      package_dir = {'Bcfg2':'src/lib'},
      package_data = {'Bcfg2.Server.Reports.reports':['fixtures/*.xml']},
      scripts = glob('src/sbin/*'),
      data_files = [('share/bcfg2/schemas',
                     glob('schemas/*.xsd')),
                    ('share/bcfg2/xsl-transforms',
                     glob('reports/xsl-transforms/*.xsl')),
                    ('share/bcfg2/xsl-transforms/xsl-transform-includes',
                     glob('reports/xsl-transforms/xsl-transform-includes/*.xsl')),
                    ('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/repo',
                     glob('src/lib/Server/Hostbase/templates/*')),
                    ]
      )