Skip to content

Commit 4aba703

Browse files
Merge pull request #252 from neutrinoceros/mnt/packaging-cleanup
2 parents f89b72e + d1271ee commit 4aba703

File tree

5 files changed

+94
-78
lines changed

5 files changed

+94
-78
lines changed

.flake8

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[flake8]
2+
max-line-length = 120
3+
ignore = W503,W504
4+
5+
[pycodestyle]
6+
max_line_length = 120

MANIFEST.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
include LICENSE
21
include README.rst
32
include CHANGES.md
43
include tox.ini

pyproject.toml

Lines changed: 88 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,89 @@
11
[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 :: 5 - Production/Stable",
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>=5.4.0",
31+
"matplotlib>=3.3.3",
32+
"packaging>=22.0.0",
33+
"Jinja2>=2.10.2",
34+
"Pillow>=8.1.1",
35+
]
36+
dynamic = [
37+
"version",
38+
]
39+
40+
[project.readme]
41+
file = "README.rst"
42+
content-type = "text/x-rst"
43+
44+
[project.urls]
45+
Homepage = "https://github.com/matplotlib/pytest-mpl"
46+
47+
[project.entry-points.pytest11]
48+
pytest_mpl = "pytest_mpl.plugin"
49+
50+
[project.optional-dependencies]
51+
test = [
52+
"pytest-cov>=6.0.0",
53+
]
54+
docs = [
55+
"sphinx>=7.0.0",
56+
"mpl_sphinx_theme>=3.9.0",
57+
"sphinx_design>=0.6.0",
58+
"matplotlib==3.9.*",
59+
]
60+
61+
[tool.setuptools]
62+
zip-safe = true
63+
include-package-data = true
64+
65+
[tool.setuptools.packages.find]
66+
namespaces = false
67+
68+
[tool.pytest.ini_options]
69+
testpaths = [
70+
"tests",
71+
]
72+
norecursedirs = [
73+
"tests/subtests/subtest",
74+
]
75+
filterwarnings = [
76+
"error",
77+
"ignore:distutils Version classes are deprecated",
78+
"ignore:the imp module is deprecated in favour of importlib",
79+
"ignore:The NumPy module was reloaded",
80+
]
81+
82+
[tool.isort]
83+
balanced_wrapping = true
84+
length_sort = false
85+
length_sort_sections = [
86+
"stdlib",
87+
]
88+
line_length = 100
89+

setup.cfg

Lines changed: 0 additions & 68 deletions
This file was deleted.

setup.py

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)