90531483b0
Change-Id: I49f71f8118e45f28d4b777ddc9588b8e30151d79
22 lines
678 B
Python
22 lines
678 B
Python
import datetime
|
|
from setuptools import setup
|
|
from sphinx.setup_command import BuildDoc
|
|
|
|
ci_cmdclass={}
|
|
|
|
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
|
|
|
|
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)
|