diff --git a/pyproject.toml b/pyproject.toml index a3f6093..b6f58e3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,18 +1,21 @@ [build-system] -requires = ["flit_core >=2,<4"] +requires = ["flit_core >=3.2,<5"] build-backend = "flit_core.buildapi" -[tool.flit.metadata] -module = "tuxrun" -author = "Antonio Terceiro" -author-email = "antonio.terceiro@linaro.org" -maintainer = "Anders Roxell, Ben Copeland" -maintainer-email = "anders.roxell@linaro.org, ben.copeland@linaro.org" -home-page = "https://tuxsuite.com/" -description-file = "README.md" +[project] +name = "tuxrun" +authors = [ + {name = "Antonio Terceiro"}, +] +maintainers = [ + {name = "Anders Roxell", email = "anders.roxell@linaro.org"}, + {name = "Ben Copeland", email = "ben.copeland@linaro.org"}, +] +readme = "README.md" classifiers = ["License :: OSI Approved :: MIT License"] requires-python = ">=3.6" -requires = [ +dynamic = ["version", "description"] +dependencies = [ "argcomplete", "jinja2", "requests", @@ -21,5 +24,11 @@ requires = [ "tuxlava", ] -[tool.flit.scripts] +[project.urls] +Homepage = "https://tuxrun.org/" + +[project.scripts] tuxrun = "tuxrun.__main__:main" + +[tool.flit.sdist] +include = ["test/"]