def run(self): for builder in ['html', 'man']: self.builder = builder self.finalize_options() BuildDoc.run(self) cmdclass['build_sphinx'] = local_BuildDoc except: pass requires = parse_requirements() depend_links = parse_dependency_links() setup( name='glance', version=version.canonical_version_string(), description='The Glance project provides services for discovering, ' 'registering, and retrieving virtual machine images', license='Apache License (2.0)', author='OpenStack', author_email='*****@*****.**', url='http://glance.openstack.org/', packages=find_packages(exclude=['bin']), test_suite='nose.collector', cmdclass=cmdclass, include_package_data=True, install_requires=requires, dependency_links=depend_links, classifiers=[ 'Development Status :: 4 - Beta', 'License :: OSI Approved :: Apache Software License',
master_doc = 'index' # General information about the project. project = u'Glance' copyright = u'2010-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 glance import version as glance_version # The full version, including alpha/beta/rc tags. release = glance_version.version_string() # The short X.Y version. version = glance_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
import setuptools from glance.openstack.common import setup setup.write_vcsversion('glance/vcsversion.py') # import this after write_vcsversion because version imports vcsversion from glance import version requires = setup.parse_requirements() depend_links = setup.parse_dependency_links() setuptools.setup( name='glance', version=version.canonical_version_string(), description='The Glance project provides services for discovering, ' 'registering, and retrieving virtual machine images', license='Apache License (2.0)', author='OpenStack', author_email='*****@*****.**', url='http://glance.openstack.org/', packages=setuptools.find_packages(exclude=['bin']), test_suite='nose.collector', cmdclass=setup.get_cmdclass(), include_package_data=True, install_requires=requires, dependency_links=depend_links, classifiers=[ 'Development Status :: 4 - Beta', 'License :: OSI Approved :: Apache Software License',