From 888ba1b8fb5ea208957273912f3bf3f038202478 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bobo=20B=C3=A4ck=20Engstr=C3=B6m?= Date: Tue, 28 Oct 2025 10:14:58 +0100 Subject: [PATCH] chore(pyproject): use 'packages' hatch option MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This will exclude the `src` directory when creating the package. See [1]. 1. https://hatch.pypa.io/1.9/config/build/#packages Signed-off-by: Bobo Bäck Engström --- pyproject.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index e307289..5ed19fc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,9 +16,8 @@ license = "MIT" requires = ["hatchling"] build-backend = "hatchling.build" - [tool.hatch.build.targets.wheel] -include = ["src/em511"] +packages = ["src/em511"] [dependency-groups] dev = [