forked from twisted/pydoctor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
64 lines (61 loc) · 1.98 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
63
64
from itertools import takewhile
from os.path import abspath, dirname, join as joinpath
from setuptools import find_packages, setup
import io
top_dir = abspath(dirname(__file__))
with io.open(joinpath(top_dir, 'README.rst'), encoding='utf-8') as f:
long_description = ''.join(
takewhile(lambda line: not line.startswith('.. description-end'), f)
)
setup(
name='pydoctor',
author='Michael Hudson-Doyle',
author_email='micahel@gmail.com',
maintainer='Maarten ter Huurne',
maintainer_email='maarten@boxingbeetle.com',
description='API doc generator.',
long_description=long_description,
long_description_content_type='text/x-rst',
license='MIT/X11',
url='https://github.com/twisted/pydoctor',
project_urls={
'Issue Tracker': 'https://github.com/twisted/pydoctor/issues',
'Repository': 'https://github.com/twisted/pydoctor',
},
packages=find_packages(),
package_data={
'pydoctor': [
'templates/*',
],
},
entry_points={
'console_scripts': [
'pydoctor = pydoctor.driver:main'
]
},
classifiers=[
'Development Status :: 6 - Mature',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'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',
'Topic :: Documentation',
'Topic :: Software Development :: Documentation',
],
use_incremental=True,
setup_requires=["incremental"],
python_requires='>=3.6',
install_requires=[
"incremental",
"appdirs",
"CacheControl[filecache]",
"Twisted",
"requests",
"astor",
],
)