diff --git a/pyproject.toml b/pyproject.toml index fed528d..b1b95a1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,32 @@ [build-system] -requires = ["setuptools"] +requires = ["setuptools>=61.0.0"] build-backend = "setuptools.build_meta" + +[project] +name = "mypy_extensions" +version = "1.0.0-dev" +description = "Type system extensions for programs checked with the mypy type checker." +readme = "README.md" +license = {file = "LICENSE"} +requires-python = ">=3.7" +authors = [ + {name = "The mypy developers", email = "jukka.lehtosalo@iki.fi"}, +] +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Environment :: Console", + "Intended Audience :: Developers", + "License :: OSI Approved :: MIT License", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Topic :: Software Development", +] +[project.urls] +Repository = "https://github.com/python/mypy_extensions" + +[tool.setuptools] +py-modules = ["mypy_extensions"] diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index 6eee9ad..0000000 --- a/setup.cfg +++ /dev/null @@ -1,30 +0,0 @@ -[metadata] -name = mypy_extensions -version = 1.0.0-dev -author = The mypy developers -author_email = jukka.lehtosalo@iki.fi -license = MIT License -description = Type system extensions for programs checked with the mypy type checker. -url = https://github.com/python/mypy_extensions -long_description = Mypy Extensions - =============== - - The "mypy_extensions" module defines extensions to the standard "typing" module - that are supported by the mypy type checker and the mypyc compiler. - -classifiers = - Development Status :: 5 - Production/Stable - Environment :: Console - Intended Audience :: Developers - License :: OSI Approved :: MIT License - Programming Language :: Python :: 3 - Programming Language :: Python :: 3.7 - Programming Language :: Python :: 3.8 - Programming Language :: Python :: 3.9 - Programming Language :: Python :: 3.10 - Programming Language :: Python :: 3.11 - Topic :: Software Development - -[options] -py_modules = mypy_extensions -python_requires = >=3.7