From 2f32ff538f1f530b1c29246708c399b30296f021 Mon Sep 17 00:00:00 2001 From: Simon Hornby Date: Fri, 28 Jun 2024 09:06:32 +0200 Subject: [PATCH 1/2] chore: exclude tests from build output --- MANIFEST.in | 2 ++ pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 MANIFEST.in diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..130b313 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,2 @@ +exclude tests/* +recursive-exclude tests * \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index f37a766..773b6e4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -80,6 +80,6 @@ max-args = 25 include-package-data = true [tool.setuptools.packages] -find = {} +find = {exclude = ["tests*"]} [tool.setuptools_scm] From d3c7b0d7b0104ff0892229f2fa8084e2be68d5bf Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 28 Jun 2024 07:20:47 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- MANIFEST.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MANIFEST.in b/MANIFEST.in index 130b313..e8b418a 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,2 +1,2 @@ exclude tests/* -recursive-exclude tests * \ No newline at end of file +recursive-exclude tests *