8000 Replace setup.py with PEP 621 metadata · realpython/pytest-mypy@ab7a35c · GitHub
[go: up one dir, main page]

Skip to content

Commit ab7a35c

Browse files
committed
Replace setup.py with PEP 621 metadata
1 parent 831e901 commit ab7a35c

File tree

2 files changed

+43
-60
lines changed

2 files changed

+43
-60
lines changed

pyproject.toml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,47 @@
22
requires = ["setuptools >= 59.6", "setuptools-scm[toml] >= 6.4", "wheel >= 0.37.1"]
33
build-backend = "setuptools.build_meta"
44

5+
[project]
6+
name = "pytest-mypy"
7+
dynamic = ["version"]
8+
description = "A Pytest Plugin for Mypy"
9+
readme = "README.rst"
10+
license = {file = "LICENSE"}
11+
maintainers = [
12+
{name = "David Tucker", email = "david@tucker.name"}
13+
]
14+
classifiers = [
15+
"Development Status :: 4 - Beta",
16+
"Framework :: Pytest",
17+
"Intended Audience :: Developers",
18+
"License :: OSI Approved :: MIT License",
19+
"Operating System :: OS Independent",
20+
"Programming Language :: Python",
21+
"Programming Language :: Python :: 3",
22+
"Programming Language :: Python :: 3.7",
23+
"Programming Language :: Python :: 3.8",
24+
"Programming Language :: Python :: 3.9",
25+
"Programming Language :: Python :: 3.10",
26+
"Programming Language :: Python :: 3.11",
27+
"Programming Language :: Python :: Implementation :: CPython",
28+
"Topic :: Software Development :: Testing",
29+
]
30+
requires-python = ">=3.7"
31+
dependencies = [
32+
"attrs>=19.0",
33+
"filelock>=3.0",
34+
"pytest>=4.6; python_version<'3.10'",
35+
"pytest>=6.2; python_version>='3.10'",
36+
"mypy>=0.500; python_version<'3.8'",
37+
"mypy>=0.700; python_version>='3.8' and python_version<'3.9'",
38+
"mypy>=0.780; python_version>='3.9' and python_version<'3.11'",
39+
"mypy>=0.900; python_version>='3.11'",
40+
]
41+
42+
[project.urls]
43+
homepage = "https://github.com/realpython/pytest-mypy"
44+
45+
[project.entry-points.pytest11]
46+
mypy = "pytest_mypy"
47+
548
[tool.setuptools_scm]

setup.py

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

0 commit comments

Comments
 (0)
0