You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sphinx-autoapi/setup.py

54 lines
1.4 KiB
Python

10 years ago
import codecs
try:
from setuptools import setup, find_packages
extra_setup = dict(
install_requires=[
'astroid;python_version>="3"',
'astroid<2;python_version<"3"',
'PyYAML',
'wheel==0.24.0',
'sphinx',
'sphinxcontrib-golangdomain',
'sphinxcontrib-dotnetdomain',
'unidecode',
],
test_suite='nose.collector',
tests_require=['nose', 'mock'],
10 years ago
)
except ImportError:
from distutils.core import setup
extra_setup = dict(
requires=[
'astroid;python_version>="3"',
'astroid<2;python_version<"3"',
'PyYAML',
'wheel==0.24.0',
'sphinx'
'sphinxcontrib-golangdomain',
'sphinxcontrib-dotnetdomain',
'unidecode',
],
)
10 years ago
setup(
name='sphinx-autoapi',
version='0.5.0',
10 years ago
author='Eric Holscher',
author_email='eric@ericholscher.com',
url='http://github.com/rtfd/sphinx-autoapi',
10 years ago
license='BSD',
description='Sphinx auto API documentation generator',
9 years ago
package_dir={'': '.'},
packages=find_packages('.'),
10 years ago
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',
],
10 years ago
},
**extra_setup
)