-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
45 lines (38 loc) · 1.05 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
import io
import re
from setuptools import setup
try:
with open('README.md') as f:
readme = f.read()
except IOError:
readme = ''
with io.open('doccov/__init__.py', 'rt', encoding='utf8') as f:
version = re.search(r'__version__ = \'(.*?)\'', f.read()).group(1)
def _requires_from_file(filename):
return open(filename).read().splitlines()
setup(
name='doc-cov',
version=version,
url='https://github.com/cocodrips/doc-cov',
license='MIT',
author='ku-mu',
author_email='[email protected]',
description='doc-cov is a tool for measuring docstring coverage of Python project',
long_description=readme,
long_description_content_type='text/markdown',
packages=['doccov'],
include_package_data=True,
python_requires='>=3.6',
install_requires=[],
extras_require={
'dev': [
'pytest>=3',
],
},
entry_points={
'console_scripts': [
'doccov = doccov.main:entry_point',
'doccov-report = doccov.report:entry_point',
],
},
)