diff --git a/MANIFEST.in b/MANIFEST.in index f8cfd680..abc347be 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -4,4 +4,5 @@ include MANIFEST.in include NEWS include README.rst include .gitignore +recursive-include doc *.rst *.py prune doc/_build diff --git a/pyproject.toml b/pyproject.toml index 00783e32..a0f5cec3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -49,6 +49,10 @@ version = {version!r} __version__ = {version_tuple!r} """ +[tool.hatch.build.targets.wheel] +# testtools is not zip safe due to dynamic imports and resource loading +only-include = ["testtools"] + [tool.mypy] warn_redundant_casts = true warn_unused_configs = true