Skip to content

Commit 7d8229b

Browse files
committed
fix: make pyproject.toml more explicity in what is included
1 parent d2e4add commit 7d8229b

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

pyproject.toml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,15 @@ repository = "https://github.com/tableau/server-client-python"
3535
test = ["black==24.10", "build", "mypy==1.4", "pytest>=7.0", "pytest-cov", "pytest-subtests",
3636
"pytest-xdist", "requests-mock>=1.0,<2.0", "types-requests>=2.32.4.20250913"]
3737

38+
# [tool.setuptools]
39+
# exclude-package-data = { "" = ["samples/*", "test/*", "docs/*"] }
40+
[tool.setuptools.package-data]
41+
# Only include data for tableauserverclient, not for samples, test, docs
42+
tableauserverclient = ["*"]
43+
3844
[tool.setuptools.packages.find]
39-
where = ["tableauserverclient", "tableauserverclient.helpers", "tableauserverclient.models", "tableauserverclient.server", "tableauserverclient.server.endpoint"]
45+
where = ["."]
46+
include = ["tableauserverclient*"]
4047

4148
[tool.setuptools.dynamic]
4249
version = {attr = "versioneer.get_version"}

0 commit comments

Comments
 (0)