15b1bc6ee1
* setup.py Fix pep8 errors. Thanks to tox! * tox.ini New target, pep8. Change-Id: Iaa24807b4284f27918e486234c6b080fc78bc71d
27 lines
771 B
Python
27 lines
771 B
Python
import datetime
|
|
from setuptools import setup
|
|
|
|
ci_cmdclass = {}
|
|
|
|
try:
|
|
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)
|
|
ci_cmdclass['build_sphinx'] = local_BuildDoc
|
|
except Exception:
|
|
pass
|
|
|
|
setup(name='nova',
|
|
version="%d.%02d" % (datetime.datetime.now().year,
|
|
datetime.datetime.now().month),
|
|
description="OpenStack Continuous Integration Scripts",
|
|
author="OpenStack CI Team",
|
|
author_email="openstack-ci@lists.launchpad.net",
|
|
url="http://launchpad.net/openstack-ci",
|
|
cmdclass=ci_cmdclass)
|