Skip to content

Commit

Permalink
Switch example build backend
Browse files Browse the repository at this point in the history
Signed-off-by: Cristian Le <[email protected]>
  • Loading branch information
LecrisUT authored and happz committed Jul 30, 2024
1 parent 2ea75bb commit 00cf8c7
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions examples/plugins/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
[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"
dependencies = [
"tmt",
]

[tool.setuptools]
py-modules = [
"discover",
"provision",
[tool.hatch.build.targets.wheel]
packages = [
"discover.py",
"provision.py",
]

[project.entry-points."tmt.plugin"]
Expand Down

0 comments on commit 00cf8c7

Please sign in to comment.