-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
51 lines (46 loc) · 1.79 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
from setuptools import setup, find_packages
import sys
needs_pytest = {'pytest', 'test', 'ptr'}.intersection(sys.argv)
pytest_runner = ['pytest-runner'] if needs_pytest else []
def readme():
with open('README.rst') as f:
return f.read()
setup(name='docrep',
version='0.3.2',
description='Python package for docstring repetition',
long_description=readme(),
long_description_content_type="text/x-rst",
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Documentation',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 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 :: 3.9',
'Operating System :: OS Independent',
],
keywords='docstrings docs docstring napoleon numpy reStructured text',
url='https://github.com/Chilipp/docrep',
author='Philipp S. Sommer',
author_email='[email protected]',
license="Apache-2.0",
packages=find_packages(exclude=['docs', 'tests*', 'examples']),
install_requires=[
'six',
],
data_files=[("", ["LICENSE"])],
setup_requires=pytest_runner,
tests_require=['pytest'],
project_urls={
'Documentation': 'https://docrep.readthedocs.io',
'Source': 'https://github.com/Chilipp/docrep',
'Tracker': 'https://github.com/Chilipp/docrep/issues',
},
zip_safe=False)