-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
110 lines (98 loc) · 3.09 KB
/
Copy pathpyproject.toml
File metadata and controls
110 lines (98 loc) · 3.09 KB
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
[tool.pdm.build]
# https://pdm.fming.dev/latest/pyproject/build/#implicit-namespace-packages
includes = ["src/sphinxcontrib"]
[tool.pdm.version]
source = "file"
path = "src/sphinxcontrib/zopeext/__version__.py"
[project]
name = "sphinxcontrib-zopeext"
dynamic = ["version"]
description = "Provides sphinxcontrib.zopeext.autointerface for documenting Zope interfaces."
authors = [
{name = "Michael McNeil Forbes", email = "mforbes@alum.mit.edu"},
]
# These are the required metadata tags. Although they could be used to dynamically
# update the trove classifiers, as per PEP-621, this is forbidden by the standard.
# Thus, standard compliant tools like PDM do not do this (in contrast to e.g. Poetry).
#
# https://peps.python.org/pep-0621/#allow-tools-to-add-extend-data
#
# Thus, don't forget to update the trove classifiers if you changce these!
requires-python = ">=3.7"
license = {text = "BSD-2-Clause"}
dependencies = [
'zope.interface>=5.5.2',
'Sphinx >= 4.5.0',
]
readme = "README.md"
# See comment above about requires-python and license.
classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"License :: OSI Approved :: BSD License",
"Development Status :: 4 - Beta",
"Framework :: Sphinx :: Extension",
"Framework :: Zope",
"Topic :: Documentation",
"Topic :: Documentation :: Sphinx",
]
[project.urls]
Homepage = "https://github.com/sphinx-contrib/zopeext/"
Repository = "https://github.com/sphinx-contrib/zopeext/"
Documentation = "https://zopeext.readthedocs.io/en/latest/"
Changelog = "https://zopeext.readthedocs.io/en/latest/#changelog"
[project.optional-dependencies]
test = [
'importlib-metadata>=4.8.3; python_version < "3.8"',
'typing_extensions<4.8.0; python_version < "3.8"',
'pip>=22.2.1',
'pytest-cov>=4.0.0',
"sphinx-testing>=1.0.1",
"pytest>=7.2.2",
]
doc = [
"sphinx-book-theme>=0.0.39",
"sphinx-autobuild>=2021.3.14",
]
[tool.pdm.dev-dependencies]
dev = [
"sphinxcontrib-zopeext[test,doc]"
]
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
######################################################################
# PyTest
[tool.pytest.ini_options]
testpaths = [
#"src/sphinxcontrib/zopeext",
"tests",
]
addopts = [
"--doctest-modules",
"--cov=sphinxcontrib.zopeext",
"--cov-report=html",
"--cov-fail-under=85",
"--no-cov-on-fail",
#"-x",
#"--pdb",
#"--flake8",
]
doctest_optionflags = [
"ELLIPSIS",
"NORMALIZE_WHITESPACE",
]
######################################################################
# Coverage
[tool.coverage.run]
# https://github.com/marketplace/actions/coveralls-python#coveragepy-configuration
relative_files = true