-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
90 lines (82 loc) · 2.1 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
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
################################################################################
# DO NOT EDIT
# AUTOGENERATED BY
#
# $ python tools/generate_pyproject.toml.py
#
# EDIT tools/pyproject.toml.in AND RUN THAT SCRIPT.
#
################################################################################
[build-system]
build-backend = 'setuptools.build_meta'
requires = ['setuptools>=61.2']
[project]
name = 'numpydoc'
description = 'Sphinx extension to support docstrings in Numpy format'
readme = 'README.rst'
requires-python = '>=3.8'
dynamic = ['version']
keywords = [
'sphinx',
'numpy',
]
classifiers = [
'Development Status :: 4 - Beta',
'Environment :: Plugins',
'License :: OSI Approved :: BSD License',
'Topic :: Documentation',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
]
dependencies = [
'sphinx>=5',
'Jinja2>=2.10',
'tabulate>=0.8.10',
"tomli>=1.1.0;python_version<'3.11'",
]
[[project.authors]]
name = 'Pauli Virtanen and others'
email = '[email protected]'
[project.license]
file = 'LICENSE.txt'
[project.urls]
Homepage = 'https://numpydoc.readthedocs.io'
[project.optional-dependencies]
doc = [
'numpy>=1.22',
'matplotlib>=3.5',
'pydata-sphinx-theme>=0.13',
'sphinx>=6',
]
test = [
'pytest',
'pytest-cov',
'matplotlib',
]
[project.scripts]
validate-docstrings = 'numpydoc.hooks.validate_docstrings:main'
[tool.setuptools]
include-package-data = false
packages = [
'numpydoc',
'numpydoc.hooks',
]
[tool.setuptools.dynamic.version]
attr = 'numpydoc.__version__'
[tool.setuptools.package-data]
numpydoc = [
'tests/test_*.py',
'tests/tinybuild/Makefile',
'tests/tinybuild/index.rst',
'tests/tinybuild/*.py',
'templates/*.rst',
]
[tool.pytest.ini_options]
addopts = '''
--showlocals --doctest-modules -ra --cov-report= --cov=numpydoc
--junit-xml=junit-results.xml --ignore=doc/ --ignore=tools/'''
junit_family = 'xunit2'