From d6781bc64d8800156d50578db4a40ad984098b3c Mon Sep 17 00:00:00 2001 From: Aarni Koskela Date: Thu, 23 Jan 2025 18:13:36 +0200 Subject: [PATCH] Exclude tests from distribution (#1486) * Exclude tests from distribution Fixes #1478 * Update pyproject.toml * Update pyproject.toml --------- Co-authored-by: Matthew Douglas <38992547+matthewdouglas@users.noreply.github.com> --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index d861cc24f..267c5e809 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -74,6 +74,9 @@ test = [ [tool.setuptools] package-data = { "*" = ["libbitsandbytes*.*"] } +[tool.setuptools.packages.find] +include = ["bitsandbytes*"] + [tool.setuptools.dynamic] version = {attr = "bitsandbytes.__version__"}