diff --git a/MANIFEST.in b/MANIFEST.in deleted file mode 100644 index 18d294ce..00000000 --- a/MANIFEST.in +++ /dev/null @@ -1,5 +0,0 @@ -include LICENSE -include NOTICE -include *.rst *.txt -recursive-include docs *.rst *.txt *.py *.conf -prune docs/.crate-docs diff --git a/pyproject.toml b/pyproject.toml index dde91b73..2a92cc00 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,6 +2,18 @@ requires = ["hatchling >= 1.26", "versioningit"] build-backend = "hatchling.build" +[tool.hatch.build.targets.sdist] +include = [ + "/docs", + "/src/crate/*.py", + "/tests", + "*.rst", + "*.txt", +] +exclude = [ + "/docs/.crate-docs", +] + [tool.hatch.build.targets.wheel] packages = ["src/crate"]