From b60cbe84484c5c71e7d3ebe9b4a47154e227d95f Mon Sep 17 00:00:00 2001 From: Sol Jerome Date: Wed, 23 Dec 2009 03:23:47 +0000 Subject: doc: Add RST layout from Thorsten Lockert All unsorted docs can be found at doc/unsorted/index.txt. Signed-off-by: Sol Jerome git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5630 ce84e21b-d406-0410-9b95-82705330c041 --- setup.py | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 04a70c8ed..7632def48 100644 --- a/setup.py +++ b/setup.py @@ -1,25 +1,31 @@ #!/usr/bin/env python from distutils.core import setup +try: + from sphinx.setup_command import BuildDoc + cmdclass = {'build_sphinx': BuildDoc} +except ImportError: + cmdclass = {} from glob import glob -setup(name="Bcfg2", +setup(cmdclass=cmdclass, + name="Bcfg2", version="1.0.0", description="Bcfg2 Server", author="Narayan Desai", author_email="desai@mcs.anl.gov", - packages=["Bcfg2", - "Bcfg2.Client", + packages=["Bcfg2", + "Bcfg2.Client", "Bcfg2.Client.Tools", - 'Bcfg2.Server', + 'Bcfg2.Server', "Bcfg2.Server.Admin", - "Bcfg2.Server.Hostbase", - "Bcfg2.Server.Hostbase.hostbase", - "Bcfg2.Server.Plugins", - "Bcfg2.Server.Reports", + "Bcfg2.Server.Hostbase", + "Bcfg2.Server.Hostbase.hostbase", + "Bcfg2.Server.Plugins", + "Bcfg2.Server.Reports", "Bcfg2.Server.Reports.reports", "Bcfg2.Server.Reports.reports.templatetags", - "Bcfg2.Server.Snapshots", + "Bcfg2.Server.Snapshots", ], package_dir = {'Bcfg2':'src/lib'}, package_data = {'Bcfg2.Server.Reports.reports':['fixtures/*.xml']}, -- cgit v1.2.3-1-g7c22