forked from sphinx-contrib/autoprogram
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
62 lines (52 loc) · 2.07 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# -*- coding: utf-8 -*-
from __future__ import with_statement
import sys
from setuptools import setup, find_namespace_packages
# Do not change the variable name. It's parsed by doc/conf.py script.
version = '0.1.6.post1'
requires = ['Sphinx >= 1.2', 'six']
if 'bdist_wheel' not in sys.argv and sys.version_info < (2, 7):
requires.append('argparse')
def readme():
with open('README.rst') as f:
return f.read()
setup(
name='btd.sphinx.autoprogram',
version=version,
url='https://github.com/buildthedocs/sphinx.autoprogram',
license='2-Clause BSD',
author='Hong Minhee, Patrick Lehmann',
author_email='\x68\x6f\x6e\x67.minhee' '@' '\x67\x6d\x61\x69\x6c.com, [email protected]',
description='Documenting CLI programs',
long_description=readme(),
zip_safe=False,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Programming Language :: Python :: Implementation :: Stackless',
'Topic :: Documentation',
'Topic :: Software Development :: Documentation',
'Topic :: Utilities'
],
platforms='any',
packages=find_namespace_packages(),
include_package_data=True,
install_requires=requires,
extras_requires={":python_version=='2.6'": ['argparse']},
test_suite='btd.sphinx.autoprogram.suite'
)