Skip to content

Commit 8d272bb

Browse files
authored
Switch build-backend to flit_core + use License-Expression for project metadata (#59)
1 parent 1b46102 commit 8d272bb

File tree

2 files changed

+5
-12
lines changed

2 files changed

+5
-12
lines changed

MANIFEST.in

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

pyproject.toml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[build-system]
2-
requires = ["setuptools>=75.0"]
3-
build-backend = "setuptools.build_meta"
2+
requires = ["flit_core>=3.11,<4"]
3+
build-backend = "flit_core.buildapi"
44

55
[project]
66
name = "mypy_extensions"
@@ -10,12 +10,11 @@ readme = "README.md"
1010
authors = [
1111
{name = "The mypy developers", email = "[email protected]"}
1212
]
13-
license = {text = "MIT"}
13+
license = "MIT"
1414
classifiers = [
1515
"Development Status :: 5 - Production/Stable",
1616
"Environment :: Console",
1717
"Intended Audience :: Developers",
18-
"License :: OSI Approved :: MIT License",
1918
"Programming Language :: Python :: 3",
2019
"Programming Language :: Python :: 3.8",
2120
"Programming Language :: Python :: 3.9",
@@ -30,5 +29,5 @@ requires-python = ">=3.8"
3029
[project.urls]
3130
Homepage = "https://github.com/python/mypy_extensions"
3231

33-
[tool.setuptools]
34-
py-modules = ["mypy_extensions"]
32+
[tool.flit.sdist]
33+
include = ["tox.ini", "*/*test*.py"]

0 commit comments

Comments
 (0)