class local_BuildDoc(setup_command.BuildDoc): def run(self): for builder in ["html", "latex"]: self.builder = builder self.finalize_options() setup_command.BuildDoc.run(self) synaps_cmdclass["build_sphinx"] = local_BuildDoc except: pass setup( name="synaps", version=version.canonical_version_string(), description="cloud monitoring system", author="Samsung SDS", author_email="*****@*****.**", url="http://www.sdscloud.co.kr/", cmdclass=synaps_cmdclass, packages=find_packages(exclude=["bin"]), include_package_data=True, scripts=[ "bin/synaps-syncdb", "bin/synaps-api-cloudwatch", "bin/synaps-reload-metric", "bin/synaps-meter", "bin/synaps-stress", ], setup_requires=[],
master_doc = 'index' # General information about the project. project = u'synaps' copyright = u'2012-present, Samsung SDS' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the # built documents. # from synaps import version as synaps_version #import synaps.version # The full version, including alpha/beta/rc tags. release = synaps_version.version_string() # The short X.Y version. version = synaps_version.canonical_version_string() # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. #language = None # There are two options for replacing |today|: either, you set today to some # non-false value, then it is used: #today = '' # Else, today_fmt is used as the format for a strftime call. #today_fmt = '%B %d, %Y' # List of documents that shouldn't be included in the build. #unused_docs = [] # List of directories, relative to source directory, that shouldn't be searched
from sphinx import setup_command class local_BuildDoc(setup_command.BuildDoc): def run(self): for builder in ['html', 'latex']: self.builder = builder self.finalize_options() setup_command.BuildDoc.run(self) synaps_cmdclass['build_sphinx'] = local_BuildDoc except: pass setup(name='synaps', version=version.canonical_version_string(), description='cloud monitoring system', author='Samsung SDS', author_email='*****@*****.**', url='http://www.sdscloud.co.kr/', cmdclass=synaps_cmdclass, packages=find_packages(exclude=['bin']), include_package_data=True, scripts=[ 'bin/synaps-syncdb', 'bin/synaps-api-cloudwatch', 'bin/synaps-reload-metric', 'bin/synaps-meter', 'bin/synaps-stress', ], setup_requires=[],