#!/usr/bin/env python from distutils.core import setup from glob import glob setup(name="Bcfg2.Server", version="0.9.5.2", description="Bcfg2 Server", author="Narayan Desai", author_email="desai@mcs.anl.gov", packages=["Bcfg2", 'Bcfg2.Server', "Bcfg2.Server.Plugins", "Bcfg2.Server.Hostbase", "Bcfg2.Server.Hostbase.hostbase", "Bcfg2.Client", "Bcfg2.Client.Tools", "Bcfg2.Server.Reports", "Bcfg2.Server.Reports.reports", "Bcfg2.Server.Reports.reports", "Bcfg2.Server.Reports.reports.templatetags", "Bcfg2.tlslite", "Bcfg2.tlslite.utils", "Bcfg2.tlslite.integration", ], package_dir = {'Bcfg2':'src/lib'}, 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/*')), ] )