From 41c65112bcd2259a7f02cd59a972a2533b2fab7a Mon Sep 17 00:00:00 2001 From: the Mulhern Date: Tue, 29 Sep 2026 16:38:07 -0400 Subject: [PATCH] Use more modern way to tell tools where packages are Signed-off-by: the Mulhern --- pyproject.toml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 0f2492c87..a5bb31c47 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,16 +38,13 @@ content-type = "text/x-rst" Homepage = "https://github.com/stratis-storage/stratis-cli" [tool.setuptools] -package-dir = {"" = "src"} -packages = [ - "stratis_cli", - "stratis_cli._parser", - "stratis_cli._actions", -] script-files = ["bin/stratis"] platforms = ["Linux"] include-package-data = false +[tool.setuptools.packages.find] +where = ["src"] + [tool.setuptools.dynamic] version = {attr = "stratis_cli._version.__version__"}