From aa9cc030896f184ff11bf99c04c2d21dc58622ce Mon Sep 17 00:00:00 2001 From: Danny Willems Date: Tue, 17 Mar 2026 13:29:20 +0100 Subject: [PATCH 1/2] Use include list instead of exclude list for hatch build targets --- pyproject.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 5ebbe41..376d5ab 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -52,6 +52,12 @@ ignore_missing_imports = false testpaths = ["tests"] addopts = "-v" +[tool.hatch.build.targets.sdist] +include = ["leakix/", "LICENSE", "README.md", "pyproject.toml"] + +[tool.hatch.build.targets.wheel] +include = ["leakix/"] + [build-system] requires = ["hatchling"] build-backend = "hatchling.build" From 0349c7c913a42797215a1ec33961a92c7de96e9e Mon Sep 17 00:00:00 2001 From: Danny Willems Date: Tue, 17 Mar 2026 13:30:32 +0100 Subject: [PATCH 2/2] CHANGELOG: use include list for hatch build targets --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index dac605a..cca268c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,8 @@ and this project adheres to - Updated l9format requirement from =1.3.2 to =1.4.0 ([ae676d9]) - Updated l9format requirement from =1.4.0 to =2.0.0 ([df916e5], [#68]) - Updated l9format requirement from =2.0.0 to =2.0.1 ([5764b2f], [#74]) +- Use explicit include lists instead of exclude lists for hatch build targets + (sdist and wheel) in `pyproject.toml` ([aa9cc03], [#75]) ### Fixed @@ -82,6 +84,7 @@ and this project adheres to [0.1.9]: https://github.com/LeakIX/LeakIXClient-Python/releases/tag/v0.1.9 +[aa9cc03]: https://github.com/LeakIX/LeakIXClient-Python/commit/aa9cc03 [5764b2f]: https://github.com/LeakIX/LeakIXClient-Python/commit/5764b2f [cfa8b6c]: https://github.com/LeakIX/LeakIXClient-Python/commit/cfa8b6c [6b9a3db]: https://github.com/LeakIX/LeakIXClient-Python/commit/6b9a3db @@ -107,3 +110,4 @@ and this project adheres to [#68]: https://github.com/LeakIX/LeakIXClient-Python/pull/68 [#72]: https://github.com/LeakIX/LeakIXClient-Python/pull/72 [#74]: https://github.com/LeakIX/LeakIXClient-Python/pull/74 +[#75]: https://github.com/LeakIX/LeakIXClient-Python/pull/75