Ticket #32852: patch-setup.py.diff

File patch-setup.py.diff, 2.6 KB (added by sol.jerome@…, 12 years ago)
  • setup.py

    old new  
    122122setup(cmdclass=cmdclass,
    123123      name="Bcfg2",
    124124      version="1.2.0",
    125       description="Bcfg2 Server",
     125      description="Bcfg2 Client",
    126126      author="Narayan Desai",
    127127      author_email="desai@mcs.anl.gov",
    128       packages=["Bcfg2",
    129                 "Bcfg2.Client",
     128      packages=["Bcfg2.Client",
    130129                "Bcfg2.Client.Tools",
    131                 'Bcfg2.Server',
    132                 "Bcfg2.Server.Admin",
    133                 "Bcfg2.Server.Hostbase",
    134                 "Bcfg2.Server.Hostbase.hostbase",
    135                 "Bcfg2.Server.Lint",
    136                 "Bcfg2.Server.Plugins",
    137                 "Bcfg2.Server.Plugins.Packages",
    138                 "Bcfg2.Server.Reports",
    139                 "Bcfg2.Server.Reports.reports",
    140                 "Bcfg2.Server.Reports.reports.templatetags",
    141                 "Bcfg2.Server.Snapshots",
    142130                ],
     131      py_modules = ["Bcfg2.Options",
     132                    "Bcfg2.Proxy",
     133                    "Bcfg2.Logger",
     134                    ],
    143135      package_dir = {'Bcfg2': 'src/lib'},
    144136      package_data = {'Bcfg2.Server.Reports.reports':['fixtures/*.xml',
    145137                'templates/*.html', 'templates/*/*.html',
    146138                'templates/*/*.inc' ] },
    147       scripts = glob('src/sbin/*'),
    148       data_files = [('share/bcfg2/schemas',
    149                      glob('schemas/*.xsd')),
    150                     ('share/bcfg2/xsl-transforms',
    151                      glob('reports/xsl-transforms/*.xsl')),
    152                     ('share/bcfg2/xsl-transforms/xsl-transform-includes',
    153                      glob('reports/xsl-transforms/xsl-transform-includes/*.xsl')),
    154                     ('share/bcfg2', glob('reports/reports.wsgi')),
    155                     ('share/man/man1', glob("man/bcfg2.1")),
     139      scripts = glob('src/sbin/bcfg2'),
     140      data_files = [('share/man/man1', glob("man/bcfg2.1")),
    156141                    ('share/man/man5', glob("man/*.5")),
    157                     ('share/man/man8', glob("man/*.8")),
    158                     ('share/bcfg2/Hostbase/templates',
    159                      glob('src/lib/Server/Hostbase/hostbase/webtemplates/*.*')),
    160                     ('share/bcfg2/Hostbase/templates/hostbase',
    161                      glob('src/lib/Server/Hostbase/hostbase/webtemplates/hostbase/*')),
    162                     ('share/bcfg2/Hostbase/repo',
    163                      glob('src/lib/Server/Hostbase/templates/*')),
    164                     ('share/bcfg2/site_media',
    165                      glob('reports/site_media/*')),
    166142                    ]
    167143      )