|
| 1 | +################################################################################ |
| 2 | +# DO NOT EDIT |
| 3 | +# AUTOGENERATED BY |
| 4 | +# |
| 5 | +# $ python tools/generate_pyproject.toml.py |
| 6 | +# |
| 7 | +# EDIT tools/pyproject.toml.in AND RUN THAT SCRIPT. |
| 8 | +# |
| 9 | +################################################################################ |
| 10 | + |
| 11 | +[build-system] |
| 12 | +build-backend = 'setuptools.build_meta' |
| 13 | +requires = ['setuptools>=61.2'] |
| 14 | + |
| 15 | +[project] |
| 16 | +name = 'numpydoc' |
| 17 | +description = 'Sphinx extension to support docstrings in Numpy format' |
| 18 | +readme = 'README.rst' |
| 19 | +requires-python = '>=3.8' |
| 20 | +dynamic = ['version'] |
| 21 | +keywords = [ |
| 22 | + 'sphinx', |
| 23 | + 'numpy', |
| 24 | +] |
| 25 | +classifiers = [ |
| 26 | + 'Development Status :: 4 - Beta', |
| 27 | + 'Environment :: Plugins', |
| 28 | + 'License :: OSI Approved :: BSD License', |
| 29 | + 'Topic :: Documentation', |
| 30 | + 'Programming Language :: Python', |
| 31 | + 'Programming Language :: Python :: 3', |
| 32 | + 'Programming Language :: Python :: 3.8', |
| 33 | + 'Programming Language :: Python :: 3.9', |
| 34 | + 'Programming Language :: Python :: 3.10', |
| 35 | + 'Programming Language :: Python :: 3.11', |
| 36 | +] |
| 37 | +dependencies = [ |
| 38 | + 'sphinx>=5', |
| 39 | + 'Jinja2>=2.10', |
| 40 | + 'tabulate>=0.8.10', |
| 41 | + "tomli>=1.1.0;python_version<'3.11'", |
| 42 | +] |
| 43 | + |
| 44 | +[[project.authors]] |
| 45 | +name = 'Pauli Virtanen and others' |
| 46 | + |
| 47 | + |
| 48 | +[project.license] |
| 49 | +file = 'LICENSE.txt' |
| 50 | + |
| 51 | +[project.urls] |
| 52 | +Homepage = 'https://numpydoc.readthedocs.io' |
| 53 | + |
| 54 | +[project.optional-dependencies] |
| 55 | +doc = [ |
| 56 | + 'numpy>=1.22', |
| 57 | + 'matplotlib>=3.5', |
| 58 | + 'pydata-sphinx-theme>=0.13', |
| 59 | + 'sphinx>=6', |
| 60 | +] |
| 61 | +test = [ |
| 62 | + 'pytest', |
| 63 | + 'pytest-cov', |
| 64 | + 'matplotlib', |
| 65 | +] |
| 66 | + |
| 67 | +[project.scripts] |
| 68 | +validate-docstrings = 'numpydoc.hooks.validate_docstrings:main' |
| 69 | +[tool.setuptools] |
| 70 | +include-package-data = false |
| 71 | +packages = [ |
| 72 | + 'numpydoc', |
| 73 | + 'numpydoc.hooks', |
| 74 | +] |
| 75 | + |
| 76 | +[tool.setuptools.package-data] |
| 77 | +numpydoc = [ |
| 78 | + 'tests/test_*.py', |
| 79 | + 'tests/tinybuild/Makefile', |
| 80 | + 'tests/tinybuild/index.rst', |
| 81 | + 'tests/tinybuild/*.py', |
| 82 | + 'templates/*.rst', |
| 83 | +] |
| 84 | +[tool.pytest.ini_options] |
| 85 | +addopts = ''' |
| 86 | +--showlocals --doctest-modules -ra --cov-report= --cov=numpydoc |
| 87 | +--junit-xml=junit-results.xml --ignore=doc/ --ignore=tools/''' |
| 88 | +junit_family = 'xunit2' |
0 commit comments