From b323b5206b68182b2780d19b058469464aca845e Mon Sep 17 00:00:00 2001 From: Paul McCarthy <pauldmccarthy@gmail.com> Date: Mon, 24 Jul 2023 17:55:37 +0100 Subject: [PATCH] MNT: Move conftest to root. Don't include tests in built wheels --- fsl/tests/conftest.py => conftest.py | 0 pyproject.toml | 3 ++- 2 files changed, 2 insertions(+), 1 deletion(-) rename fsl/tests/conftest.py => conftest.py (100%) diff --git a/fsl/tests/conftest.py b/conftest.py similarity index 100% rename from fsl/tests/conftest.py rename to conftest.py diff --git a/pyproject.toml b/pyproject.toml index c93fae593..257b6f39f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -82,10 +82,11 @@ fsl_apply_x5 = "fsl.scripts.fsl_apply_x5:main" [tool.setuptools.packages.find] include = ["fsl*"] +exclude = ["fsl.tests*"] [tool.setuptools.package-data] -fsl = ["fsl/tests/testdata/*", "utils/filetree/trees/*"] +fsl = ["fsl/filetree/trees/*"] [tool.setuptools.dynamic] -- GitLab