mirror of
https://github.com/readthedocs/sphinx-autoapi
synced 2024-11-06 09:20:27 +00:00
04805b5044
The module is actually 0.4 release currently. This is not a new release however, so updated to match 0.4, no additional increment necessary yet.
52 lines
1.3 KiB
Python
52 lines
1.3 KiB
Python
import codecs
|
|
try:
|
|
from setuptools import setup, find_packages
|
|
extra_setup = dict(
|
|
install_requires=[
|
|
'PyYAML',
|
|
'pydocstyle',
|
|
'wheel==0.24.0',
|
|
'sphinx',
|
|
'sphinxcontrib-golangdomain',
|
|
'sphinxcontrib-dotnetdomain',
|
|
'unidecode',
|
|
],
|
|
test_suite='nose.collector',
|
|
tests_require=['nose', 'mock'],
|
|
)
|
|
except ImportError:
|
|
from distutils.core import setup
|
|
extra_setup = dict(
|
|
requires=[
|
|
'PyYAML',
|
|
'pydocstyle',
|
|
'wheel==0.24.0',
|
|
'sphinx'
|
|
'sphinxcontrib-golangdomain',
|
|
'sphinxcontrib-dotnetdomain',
|
|
'unidecode',
|
|
],
|
|
)
|
|
|
|
setup(
|
|
name='sphinx-autoapi',
|
|
version='0.4.0',
|
|
author='Eric Holscher',
|
|
author_email='eric@ericholscher.com',
|
|
url='http://github.com/rtfd/sphinx-autoapi',
|
|
license='BSD',
|
|
description='Sphinx auto API documentation generator',
|
|
package_dir={'': '.'},
|
|
packages=find_packages('.'),
|
|
long_description=codecs.open("README.rst", "r", "utf-8").read(),
|
|
# trying to add files...
|
|
include_package_data=True,
|
|
package_data={
|
|
'autoapi': [
|
|
'templates/*.rst',
|
|
'templates/*/*.rst',
|
|
],
|
|
},
|
|
**extra_setup
|
|
)
|