From cd3980aa2c5e81195f88505f1fbf68b422d2e94e Mon Sep 17 00:00:00 2001 From: Stephen L Arnold Date: Sat, 25 Jan 2025 14:06:49 -0800 Subject: [PATCH] fix: dev: use the correct packaging bits instead of auto-discovery Signed-off-by: Stephen L Arnold --- pyproject.toml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 42a0ddd9a..0d85c6082 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,7 +11,12 @@ authors = ["mingrammer "] readme = "README.md" homepage = "https://diagrams.mingrammer.com" repository = "https://github.com/mingrammer/diagrams" -include = ["resources/**/*"] +packages = [ + { include = "diagrams", from = "." } +] +include = [ + { path = "resources", format = ["sdist", "wheel"] } +] [tool.poetry.scripts] diagrams="diagrams.cli:main"