Added support for building docs from setup.py.
This commit is contained in:
parent
d91a16b7cf
commit
81e79a87c4
4
setup.cfg
Normal file
4
setup.cfg
Normal file
@ -0,0 +1,4 @@
|
||||
[build_sphinx]
|
||||
source-dir = doc/source
|
||||
build-dir = doc/build
|
||||
all_files = 1
|
12
setup.py
12
setup.py
@ -16,15 +16,23 @@
|
||||
|
||||
from setuptools import setup, find_packages
|
||||
|
||||
name='swift'
|
||||
version='1.0.0'
|
||||
|
||||
setup(
|
||||
name='swift',
|
||||
version='1.0.0-1',
|
||||
name=name,
|
||||
version=version,
|
||||
description='Swift',
|
||||
license='Apache License (2.0)',
|
||||
author='OpenStack, LLC.',
|
||||
url='https://launchpad.net/swift',
|
||||
packages=find_packages(exclude=['tests','bin']),
|
||||
test_suite = 'nose.collector',
|
||||
command_options = {
|
||||
'build_sphinx': {
|
||||
'version': ('setup.py', version),
|
||||
}
|
||||
},
|
||||
classifiers=[
|
||||
'Development Status :: 4 - Beta',
|
||||
'License :: OSI Approved :: Apache Software License',
|
||||
|
Loading…
Reference in New Issue
Block a user