from sphinx.setup_command import BuildDoc class local_BuildDoc(BuildDoc): def run(self): for builder in ['html', 'man']: self.builder = builder self.finalize_options() BuildDoc.run(self) cmdclass['build_sphinx'] = local_BuildDoc except: pass setup(name='skeleton', version=version.canonical_version_string(), description='The Skeleton project provides a simple WSGI server demo', license='Apache License (2.0)', author='OpenStack', author_email='*****@*****.**', url='http://skeleton.openstack.org/', packages=find_packages(exclude=['tests', 'bin']), test_suite='nose.collector', cmdclass=cmdclass, include_package_data=True, classifiers=[ 'Development Status :: 4 - Beta', 'License :: OSI Approved :: Apache Software License', 'Operating System :: POSIX :: Linux', 'Programming Language :: Python :: 2.6', 'Environment :: No Input/Output (Daemon)',
master_doc = 'index' # General information about the project. project = u'Skeleton' copyright = u'2011-present, OpenStack, LLC.' # 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. # # The short X.Y version. from skeleton import version as skeleton_version # The full version, including alpha/beta/rc tags. release = skeleton_version.version_string() # The short X.Y version. version = skeleton_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
class local_BuildDoc(BuildDoc): def run(self): for builder in ['html', 'man']: self.builder = builder self.finalize_options() BuildDoc.run(self) cmdclass['build_sphinx'] = local_BuildDoc except: pass setup( name='skeleton', version=version.canonical_version_string(), description='The Skeleton project provides a simple WSGI server demo', license='Apache License (2.0)', author='OpenStack', author_email='*****@*****.**', url='http://skeleton.openstack.org/', packages=find_packages(exclude=['tests', 'bin']), test_suite='nose.collector', cmdclass=cmdclass, include_package_data=True, classifiers=[ 'Development Status :: 4 - Beta', 'License :: OSI Approved :: Apache Software License', 'Operating System :: POSIX :: Linux', 'Programming Language :: Python :: 2.6', 'Environment :: No Input/Output (Daemon)',