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
|
from setuptools import setup, find_packages
|
||||||
|
|
||||||
|
name='swift'
|
||||||
|
version='1.0.0'
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='swift',
|
name=name,
|
||||||
version='1.0.0-1',
|
version=version,
|
||||||
description='Swift',
|
description='Swift',
|
||||||
license='Apache License (2.0)',
|
license='Apache License (2.0)',
|
||||||
author='OpenStack, LLC.',
|
author='OpenStack, LLC.',
|
||||||
url='https://launchpad.net/swift',
|
url='https://launchpad.net/swift',
|
||||||
packages=find_packages(exclude=['tests','bin']),
|
packages=find_packages(exclude=['tests','bin']),
|
||||||
test_suite = 'nose.collector',
|
test_suite = 'nose.collector',
|
||||||
|
command_options = {
|
||||||
|
'build_sphinx': {
|
||||||
|
'version': ('setup.py', version),
|
||||||
|
}
|
||||||
|
},
|
||||||
classifiers=[
|
classifiers=[
|
||||||
'Development Status :: 4 - Beta',
|
'Development Status :: 4 - Beta',
|
||||||
'License :: OSI Approved :: Apache Software License',
|
'License :: OSI Approved :: Apache Software License',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user