From 192d394f7098a9130e04bd61b1d6d618795e66ed Mon Sep 17 00:00:00 2001 From: Lindsey Gray Date: Tue, 27 Aug 2024 11:40:18 -0500 Subject: [PATCH] build: add in packages.find section to pyproject.toml --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index db6faf9..133f079 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,5 +29,8 @@ urls = { Homepage = "https://github.com/tpgillam/mt2" } requires = ["setuptools>=61.0", "wheel", "numpy"] build-backend = "setuptools.build_meta" +[tool.setuptools.packages.find] +exclude = ["examples", "src", "tests"] + [tool.setuptools.package-data] mt2 = ["src/*.h", "src/*.cpp"]