|
1 | 1 | [build-system] |
2 | | -requires = ["setuptools>=30.3.0", |
3 | | - "setuptools_scm", |
4 | | - "wheel"] |
5 | | -build-backend = 'setuptools.build_meta' |
| 2 | +requires = [ |
| 3 | + "setuptools>=80", |
| 4 | + "setuptools-scm[simple]>=8", |
| 5 | +] |
| 6 | +build-backend = "setuptools.build_meta" |
| 7 | + |
| 8 | +[project] |
| 9 | +name = "pytest-mpl" |
| 10 | +authors = [ |
| 11 | + { name = "Thomas Robitaille", email = "thomas.robitaille@gmail.com" }, |
| 12 | +] |
| 13 | +license = "BSD-2-Clause" |
| 14 | +license-files = [ |
| 15 | + "LICENSE", |
| 16 | +] |
| 17 | +classifiers = [ |
| 18 | + "Development Status :: 4 - Beta", |
| 19 | + "Framework :: Pytest", |
| 20 | + "Intended Audience :: Developers", |
| 21 | + "Topic :: Software Development :: Testing", |
| 22 | + "Topic :: Scientific/Engineering :: Visualization", |
| 23 | + "Programming Language :: Python", |
| 24 | + "Programming Language :: Python :: 3", |
| 25 | + "Operating System :: OS Independent", |
| 26 | +] |
| 27 | +description = "pytest plugin to help with testing figures output from Matplotlib" |
| 28 | +requires-python = ">=3.9" |
| 29 | +dependencies = [ |
| 30 | + "pytest", |
| 31 | + "matplotlib", |
| 32 | + "importlib_resources;python_version<'3.8'", |
| 33 | + "packaging", |
| 34 | + "Jinja2", |
| 35 | + "Pillow", |
| 36 | +] |
| 37 | +dynamic = [ |
| 38 | + "version", |
| 39 | +] |
| 40 | + |
| 41 | +[project.readme] |
| 42 | +file = "README.rst" |
| 43 | +content-type = "text/x-rst" |
| 44 | + |
| 45 | +[project.urls] |
| 46 | +Homepage = "https://github.com/matplotlib/pytest-mpl" |
| 47 | + |
| 48 | +[project.entry-points.pytest11] |
| 49 | +pytest_mpl = "pytest_mpl.plugin" |
| 50 | + |
| 51 | +[project.optional-dependencies] |
| 52 | +test = [ |
| 53 | + "pytest-cov", |
| 54 | +] |
| 55 | +docs = [ |
| 56 | + "sphinx", |
| 57 | + "mpl_sphinx_theme>=3.9.0", |
| 58 | + "sphinx_design", |
| 59 | + "matplotlib==3.9.*", |
| 60 | +] |
| 61 | + |
| 62 | +[tool.setuptools] |
| 63 | +zip-safe = true |
| 64 | +include-package-data = true |
| 65 | + |
| 66 | +[tool.setuptools.packages.find] |
| 67 | +namespaces = false |
| 68 | + |
| 69 | +[tool.pytest.ini_options] |
| 70 | +testpaths = [ |
| 71 | + "tests", |
| 72 | +] |
| 73 | +norecursedirs = [ |
| 74 | + "tests/subtests/subtest", |
| 75 | +] |
| 76 | +filterwarnings = [ |
| 77 | + "error", |
| 78 | + "ignore:distutils Version classes are deprecated", |
| 79 | + "ignore:the imp module is deprecated in favour of importlib", |
| 80 | + "ignore:The NumPy module was reloaded", |
| 81 | +] |
| 82 | + |
| 83 | +[tool.isort] |
| 84 | +balanced_wrapping = true |
| 85 | +length_sort = false |
| 86 | +length_sort_sections = [ |
| 87 | + "stdlib", |
| 88 | +] |
| 89 | +line_length = 100 |
| 90 | + |
0 commit comments