Ticket #27351: patch-setup.py.diff

File patch-setup.py.diff, 3.0 KB (added by sol.jerome@…, 14 years ago)

Updated setup.py patch

  • setup.py

    old new  
    1111setup(cmdclass=cmdclass,
    1212      name="Bcfg2",
    1313      version="1.1.1",
    14       description="Bcfg2 Server",
     14      description="Bcfg2 Client",
    1515      author="Narayan Desai",
    1616      author_email="desai@mcs.anl.gov",
    17       packages=["Bcfg2",
    18                 "Bcfg2.Client",
     17      packages=["Bcfg2.Client",
    1918                "Bcfg2.Client.Tools",
    20                 'Bcfg2.Server',
    21                 "Bcfg2.Server.Admin",
    22                 "Bcfg2.Server.Hostbase",
    23                 "Bcfg2.Server.Hostbase.hostbase",
    24                 "Bcfg2.Server.Plugins",
    25                 "Bcfg2.Server.Reports",
    26                 "Bcfg2.Server.Reports.reports",
    27                 "Bcfg2.Server.Reports.reports.templatetags",
    28                 "Bcfg2.Server.Snapshots",
    2919                ],
     20      py_modules = ["Bcfg2.Options",
     21                    "Bcfg2.Proxy",
     22                    "Bcfg2.Logger",
     23                    ],
    3024      package_dir = {'Bcfg2':'src/lib'},
    31       package_data = {'Bcfg2.Server.Reports.reports':['fixtures/*.xml']},
    32       scripts = glob('src/sbin/*'),
    33       data_files = [('share/bcfg2/schemas',
    34                      glob('schemas/*.xsd')),
    35                     ('share/bcfg2/xsl-transforms',
    36                      glob('reports/xsl-transforms/*.xsl')),
    37                     ('share/bcfg2/xsl-transforms/xsl-transform-includes',
    38                      glob('reports/xsl-transforms/xsl-transform-includes/*.xsl')),
    39                     ('share/man/man1', glob("man/bcfg2.1")),
     25      package_data = {'Bcfg2.Server.Reports.reports':['fixtures/*.xml',
     26                'templates/*.html', 'templates/*/*.html',
     27                'templates/*/*.inc' ] },
     28      scripts = glob('src/sbin/bcfg2'),
     29      data_files = [('share/man/man1', glob("man/bcfg2.1")),
    4030                    ('share/man/man5', glob("man/*.5")),
    41                     ('share/man/man8', glob("man/*.8")),
    42                     ('share/bcfg2/Reports/templates',
    43                      glob('src/lib/Server/Reports/reports/templates/*.html')),
    44                     ('share/bcfg2/Reports/templates/displays',
    45                      glob('src/lib/Server/Reports/reports/templates/displays/*')),
    46                     ('share/bcfg2/Reports/templates/clients',
    47                      glob('src/lib/Server/Reports/reports/templates/clients/*')),
    48                     ('share/bcfg2/Reports/templates/config_items',
    49                      glob('src/lib/Server/Reports/reports/templates/config_items/*')),
    50                     ('share/bcfg2/Hostbase/templates',
    51                      glob('src/lib/Server/Hostbase/hostbase/webtemplates/*.*')),
    52                     ('share/bcfg2/Hostbase/templates/hostbase',
    53                      glob('src/lib/Server/Hostbase/hostbase/webtemplates/hostbase/*')),
    54                     ('share/bcfg2/Hostbase/repo',
    55                      glob('src/lib/Server/Hostbase/templates/*')),
    5631                    ]
    5732      )