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__"}