-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.cfg
95 lines (82 loc) · 2.04 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
[metadata]
name = typedi
version = attr: typedi.__version__
description = Simple yet powerful typed dependency injection container
url = https://github.com/bshishov/typedi
author = Boris Shishov
author_email = borisshishov@gmail.com
long_description = file: README.md
long_description_content_type = text/markdown
license = MIT
license_file = LICENCE
platform = any
keyword = dependency injection, di, ioc, container
classifiers =
Development Status :: 4 - Beta
License :: OSI Approved :: MIT License
Intended Audience :: Developers
Programming Language :: Python :: 3
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Operating System :: OS Independent
Topic :: Software Development :: Libraries
[options]
python_requires = >= 3.7
packages = find:
package_dir =
=src
test_suite = tests
setup_requires =
setuptools >=43.3.0
include_package_data = True
[options.packages.find]
where=src
[options.extras_require]
test =
pytest==7.1.2
coverage==6.4.2
[options.package_data]
typedi = py.typed
# Tests and coverage configuration ---------------------------------------------
[coverage:run]
branch = true
relative_files = true
parallel = true
source =
typedi
[coverage:paths]
src =
src/
.tox/*/lib/*/site-packages/
.tox\*\Lib\site-packages\
.tox/pypy*/site-packages/
[coverage:report]
fail_under = 90
skip_covered = true
show_missing = true
exclude_lines =
@(abc\.)?abstractmethod
if sys.version_info
def __repr__
[tool:pytest]
norecursedirs = .tox venv
# Tox automation configuration ---------------------------------------------
[tox:tox]
envlist = py{37,38,39,310,311}
[gh-actions]
python =
3.7: py37
3.8: py38
3.9: py39
3.10: py310
3.11: py311
[testenv]
# for coverage to produce unified paths across all environments
usedevelop = true
deps =
pytest==7.1.2
coverage==6.4.2
commands =
python -m coverage run --rcfile {toxinidir}/setup.cfg -m pytest -v {posargs}