From 79350db5d7ec06563c763b8d37f2bd8bf5b77ad7 Mon Sep 17 00:00:00 2001 From: Aarni Koskela Date: Thu, 23 Jan 2025 15:10:21 +0200 Subject: [PATCH] Exclude tests from distribution Fixes #1478 --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index d861cc24f..90862f83a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -149,3 +149,6 @@ ignore_missing_imports = true [[tool.mypy.overrides]] module = "scipy.stats" ignore_missing_imports = true + +[tool.setuptools.packages.find] +exclude = ["tests*"]