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"