Skip to content

Commit 0601a1f

Browse files
committed
Move setuptools config from setup.cfg with pyproject.toml
Supported since setuptools 61.0.0, more standard.
1 parent 780aa14 commit 0601a1f

File tree

2 files changed

+30
-31
lines changed

2 files changed

+30
-31
lines changed

pyproject.toml

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,32 @@
11
[build-system]
2-
requires = ["setuptools"]
2+
requires = ["setuptools>=61.0.0"]
33
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "mypy_extensions"
7+
version = "1.0.0-dev"
8+
description = "Type system extensions for programs checked with the mypy type checker."
9+
readme = "README.md"
10+
license = {file = "LICENSE"}
11+
requires-python = ">=3.7"
12+
authors = [
13+
{name = "The mypy developers", email = "jukka.lehtosalo@iki.fi"},
14+
]
15+
classifiers = [
16+
"Development Status :: 5 - Production/Stable",
17+
"Environment :: Console",
18+
"Intended Audience :: Developers",
19+
"License :: OSI Approved :: MIT License",
20+
"Programming Language :: Python :: 3",
21+
"Programming Language :: Python :: 3.7",
22+
"Programming Language :: Python :: 3.8",
23+
"Programming Language :: Python :: 3.9",
24+
"Programming Language :: Python :: 3.10",
25+
"Programming Language :: Python :: 3.11",
26+
"Topic :: Software Development",
27+
]
28+
[project.urls]
29+
Repository = "https://github.com/python/mypy_extensions"
30+
31+
[tool.setuptools]
32+
py-modules = ["mypy_extensions"]

setup.cfg

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

0 commit comments

Comments
 (0)