openstack-qa/setup.py
lrqrun b3d38a82fa Fix PEP8 issues.
Fix some pep8 issues in doc/conf.py and setup.py  make the code looks pretty.

Change-Id: I13ff677c29ebf0f6e9ee31c522a42e0c3529a31c
2012-08-30 10:23:57 +08:00

24 lines
705 B
Python

import datetime
from setuptools import setup
from sphinx.setup_command import BuildDoc
cmdclass = {}
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
setup(name='openstack-qa',
version="%d.%02d" % (datetime.datetime.now().year,
datetime.datetime.now().month),
description="OpenStack Quality Assurance and Scripts",
author="OpenStack QA Team",
author_email="openstack-qa@lists.launchpad.net",
url="http://launchpad.net/openstack-qa",
cmdclass=cmdclass)