-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathpyproject.toml
61 lines (54 loc) · 1.6 KB
/
pyproject.toml
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
[build-system]
requires = [
"setuptools>=61",
"setuptools_scm[toml]>=6.2",
]
build-backend = "setuptools.build_meta"
[project]
name = "defopt"
description = "Effortless argument parser"
readme = "README.rst"
authors = [{name = "Antony Lee"}]
urls = {Repository = "https://github.com/anntzer/defopt"}
license = {text = "MIT"}
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
]
keywords = ["argument parser", "optparse", "argparse", "getopt", "docopt", "sphinx"]
requires-python = ">=3.7"
dependencies = [
"docutils>=0.12", # First with wheels, for better setuptools compat.
"sphinxcontrib-napoleon>=0.7.0", # More consistent Raises blocks.
"importlib_metadata>=1.0; python_version<'3.8'",
"typing_inspect>=0.8.0; python_version<'3.8'",
"pkgutil_resolve_name; python_version<'3.9'",
"colorama>=0.3.4; sys_platform=='win32'",
]
dynamic = ["version"]
[project.optional-dependencies]
docs = [
"sphinx>=4.4",
]
[tool.setuptools_scm]
version_scheme = "post-release"
local_scheme = "node-and-date"
fallback_version = "0+unknown"
[tool.coverage.run]
branch = true
source_pkgs = ["defopt", "test_defopt"]
concurrency = ["multiprocessing"]
[tool.coverage.paths]
source = ["src/", "/**/python*/site-packages/"]
[tool.coverage.report]
exclude_lines = ["assert False"]
fail_under = 95
[tool.pytest.ini_options]
filterwarnings = [
"error",
"ignore::DeprecationWarning",
"error::DeprecationWarning:defopt",
]