From 14e677f5c391a3123584431cf1be4c27eec35865 Mon Sep 17 00:00:00 2001 From: Alfi Maulana Date: Thu, 3 Jul 2025 22:22:50 +0700 Subject: [PATCH] build: only include `src` dir in source distribution Signed-off-by: Alfi Maulana --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 37173e4..6227014 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -41,6 +41,9 @@ omit = ["__main__.py"] [tool.coverage.run] source = ["bonacci"] +[tool.hatch.build.targets.sdist] +include = ["src"] + [tool.ruff.lint] select = ["ALL"] ignore = ["COM812", "D"]