-
Notifications
You must be signed in to change notification settings - Fork 40
/
setup.py
45 lines (40 loc) · 1.38 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
from setuptools import setup
def getVersion():
f = open("sphinxarg/__init__.py")
_ = f.read()
ver = _.split("'")[1]
f.close()
return ver
setup(
name='sphinx-argparse',
version=getVersion(),
packages=[
'sphinxarg',
],
url='https://github.com/ribozz/sphinx-argparse',
license='MIT',
data_files=[("", ["LICENSE"])],
author='Aleksandr Rudakov and Devon Ryan',
author_email='[email protected]',
description='A sphinx extension that automatically documents argparse commands and options',
long_description="""A sphinx extension that automatically documents argparse commands and options.
For installation and usage details, see the `documentation <http://sphinx-argparse.readthedocs.org/en/latest/>`_.""",
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Documentation :: Sphinx',
'Topic :: Software Development :: Documentation'
],
install_requires=[
'sphinx>=1.2.0'
],
extras_require={
'dev': ['pytest', 'sphinx_rtd_theme'],
'markdown': ['CommonMark>=0.5.6']
}
)