diff --git a/examples/plugins/pyproject.toml b/examples/plugins/pyproject.toml index 5512d23c24..126126bf99 100644 --- a/examples/plugins/pyproject.toml +++ b/examples/plugins/pyproject.toml @@ -1,3 +1,8 @@ +[build-system] +# Using hatchling as build backend because EPEL9 setuptools (53.0.0) does not build with PEP517 properly +requires = ["hatchling"] +build-backend = "hatchling.build" + [project] name = "demo-plugins" version = "0.0.1" @@ -5,10 +10,10 @@ dependencies = [ "tmt", ] -[tool.setuptools] -py-modules = [ - "discover", - "provision", +[tool.hatch.build.targets.wheel] +packages = [ + "discover.py", + "provision.py", ] [project.entry-points."tmt.plugin"]