From f9e39081d8c9b059bae814a8af25dc0484dc88ff Mon Sep 17 00:00:00 2001 From: deltragon Date: Mon, 26 Aug 2024 17:00:19 +0200 Subject: [PATCH] exclude tests from package --- MANIFEST.in | 2 ++ pyproject.toml | 1 + 2 files changed, 3 insertions(+) diff --git a/MANIFEST.in b/MANIFEST.in index b0a6c49..b0ff714 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -3,4 +3,6 @@ include README.md graft safeeyes +prune safeeyes/tests + global-exclude *.py[cod] diff --git a/pyproject.toml b/pyproject.toml index 485b061..93de0e6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -46,6 +46,7 @@ build-backend = "setuptools.build_meta" [tool.setuptools.packages.find] include=["safeeyes*"] +exclude=["safeeyes.tests*"] [tool.pytest.ini_options] addopts = [