Skip to content

Commit

Permalink
Use pyproject.toml in example
Browse files Browse the repository at this point in the history
Signed-off-by: Cristian Le <[email protected]>
  • Loading branch information
LecrisUT committed Apr 3, 2024
1 parent c476703 commit c8de560
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 13 deletions.
16 changes: 16 additions & 0 deletions examples/plugins/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[project]
name = "demo-plugins"
version = "0.0.1"
dependencies = [
"tmt",
]

[tool.setuptools]
py-modules = [
"discover",
"provision",
]

[project.entry-points."tmt.plugin"]
ProvisionExample = "provision:ProvisionExample"
DiscoverExample = "discover:DiscoverExample"
13 changes: 0 additions & 13 deletions examples/plugins/setup.py

This file was deleted.

0 comments on commit c8de560

Please sign in to comment.