Ticket #22623: patch-setup.py.diff

File patch-setup.py.diff, 2.6 KB (added by solj@…, 15 years ago)
  • setup.py

    old new  
    55
    66setup(name="Bcfg2",
    77      version="1.0.0",
    8       description="Bcfg2 Server",
     8      description="Bcfg2 Client",
    99      author="Narayan Desai",
    1010      author_email="desai@mcs.anl.gov",
    11       packages=["Bcfg2",
    12                 "Bcfg2.Client",
     11      packages=["Bcfg2.Client",
    1312                "Bcfg2.Client.Tools",
    14                 'Bcfg2.Server',
    15                 "Bcfg2.Server.Admin",
    16                 "Bcfg2.Server.Hostbase",
    17                 "Bcfg2.Server.Hostbase.hostbase",
    18                 "Bcfg2.Server.Plugins",
    19                 "Bcfg2.Server.Reports",
    20                 "Bcfg2.Server.Reports.reports",
    21                 "Bcfg2.Server.Reports.reports.templatetags",
    22                 "Bcfg2.Server.Snapshots",
    2313                ],
     14      py_modules = ["Bcfg2.Options",
     15                    "Bcfg2.Proxy",
     16                    "Bcfg2.Logger",
     17                    ],
    2418      package_dir = {'Bcfg2':'src/lib'},
    25       package_data = {'Bcfg2.Server.Reports.reports':['fixtures/*.xml']},
    26       scripts = glob('src/sbin/*'),
    27       data_files = [('share/bcfg2/schemas',
    28                      glob('schemas/*.xsd')),
    29                     ('share/bcfg2/xsl-transforms',
    30                      glob('reports/xsl-transforms/*.xsl')),
    31                     ('share/bcfg2/xsl-transforms/xsl-transform-includes',
    32                      glob('reports/xsl-transforms/xsl-transform-includes/*.xsl')),
    33                     ('share/man/man1', glob("man/bcfg2.1")),
     19      scripts = glob('src/sbin/bcfg2'),
     20      data_files = [('share/man/man1', glob("man/bcfg2.1")),
    3421                    ('share/man/man5', glob("man/*.5")),
    35                     ('share/man/man8', glob("man/*.8")),
    36                     ('share/bcfg2/Reports/templates',
    37                      glob('src/lib/Server/Reports/reports/templates/*.html')),
    38                     ('share/bcfg2/Reports/templates/displays',
    39                      glob('src/lib/Server/Reports/reports/templates/displays/*')),
    40                     ('share/bcfg2/Reports/templates/clients',
    41                      glob('src/lib/Server/Reports/reports/templates/clients/*')),
    42                     ('share/bcfg2/Reports/templates/config_items',
    43                      glob('src/lib/Server/Reports/reports/templates/config_items/*')),
    44                     ('share/bcfg2/Hostbase/templates',
    45                      glob('src/lib/Server/Hostbase/hostbase/webtemplates/*')),
    46                     ('share/bcfg2/Hostbase/repo',
    47                      glob('src/lib/Server/Hostbase/templates/*')),
    4822                    ]
    4923      )