diff --git a/pyproject.toml b/pyproject.toml index 1aad0c0..bca7599 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,14 +1,15 @@ [build-system] -requires = ["flit_core >=2,<4"] +requires = ["flit_core >=2,<5"] build-backend = "flit_core.buildapi" -[tool.flit.metadata] -module = "ptyprocess" -author = "Thomas Kluyver" -author-email = "thomas@kluyver.me.uk" -home-page = "https://github.com/pexpect/ptyprocess" -description-file = "README.rst" +[project] +name = "ptyprocess" +authors = [ + { name = "Thomas Kluyver", email = "thomas@kluyver.me.uk" }, +] +readme = "README.rst" requires-python = ">=3.7" +dynamic = ["version", "description"] classifiers = [ "Development Status :: 5 - Production/Stable", "Environment :: Console", @@ -22,3 +23,5 @@ classifiers = [ "Topic :: Terminals" ] +[project.urls] +Homepage = "https://github.com/pexpect/ptyprocess"