-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup.cfg
115 lines (100 loc) · 2.27 KB
/
setup.cfg
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
[metadata]
name = codemetrics
summary = SCM mining utility classes
version = 0.11.7
author = elmotec
author_email = elmotec@gmx.com
description_file =
README.rst
HISTORY.rst
long_description = file: README.rst, HISTORY.rst, LICENSE.txt
long_description_content_type = text/x-rst
license = MIT
keywords = code,metrics,mining,scm,subversion,svn,Adam Tornhill,utilities
home_page = http://github.com/elmotec/codemetrics
requires_dist = setuptools
classifiers =
Development Status :: 4 - Beta
License :: OSI Approved :: MIT License
Environment :: Console
Natural Language :: English
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Topic :: Software Development
Topic :: Utilities
Topic :: Software Development :: Version Control
Intended Audience :: Developers
Intended Audience :: Education
[options]
setup_requires =
wheel
install_requires =
numpy>=1,<2
click>=6
pandas>=1<2
tqdm>=4
python-dateutil>=2
scikit-learn>=1,<2
lizard>1.17
mypy-extensions
include_package_data = True,
packages = codemetrics
test_suite = tests
python_requires = >=3.6
[entry_points]
console_scripts =
cm_func_stats=codemetrics.cmdline:cm_func_stats
[build-system]
requires =
setuptools>=40.9.0
wheel
build-backend = "setuptools.build_meta"
[bumpversion:file:setup.cfg]
search = version = {current_version}
replace = version = {new_version}
[bumpversion:file:codemetrics/__init__.py]
search = __version__ = "{current_version}"
replace = __version__ = "{new_version}"
[bdist_wheel]
universal = 1
[flake8]
exclude = docs
max-line-length = 119
[isort]
profile = black
[tox:tox]
envlist = py37, py38, py39, py310, coverage, docs
isolated_build = True
[testenv]
deps =
--prefer-binary
.
pytest
commands = pytest tests
[testenv:coverage]
deps =
--prefer-binary
.
pytest
pytest-cov
commands =
coverage erase
pytest --cov=codemetrics --cov-branch --cov-report=term-missing:skip-covered --cov-config=setup.cfg
coverage report --omit='.tox/*'
coverage html --omit='.tox/*'
[testenv:docs]
deps =
sphinx
sphinx-autodoc-typehints
sphinx-rtd-theme
commands = python setup.py build_sphinx
[tool:pytest]
norecursedirs = .* *.egg* build dist docs conf
[coverage:run]
omit =
docs/*
tests/*
conf/*
[aliases]