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