From e864c4380f3d90778b5e46768b3ac5e9e1817258 Mon Sep 17 00:00:00 2001 From: Ashutosh0x Date: Tue, 6 Jan 2026 20:18:12 +0530 Subject: [PATCH] fix(pkg): exclude test files from sdist/wheel (closes #347) --- pyproject.toml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 2adab7b..beba400 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -57,9 +57,8 @@ docs = [ "sphinxcontrib-katex", ] -[tool.setuptools.packages.find] -include = ["README.md", "LICENSE"] -exclude = ["*_test.py"] +[tool.flit.sdist] +exclude = ["**/*_test.py", "**/test_*.py"] [tool.ruff] line-length = 80