From eb5ff8a072d7bbbe977049f384348023123d1892 Mon Sep 17 00:00:00 2001 From: Guillaume Ranquet Date: Mon, 8 Jul 2024 16:17:19 +0200 Subject: [PATCH] Remove tests from installed packages The tests do not need to be installed Create an exclude rule for find_packages() in setup Signed-off-by: Guillaume Ranquet --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index dbef6b7..24c8adb 100644 --- a/setup.py +++ b/setup.py @@ -50,7 +50,7 @@ keywords="gmail notmuch synchronization tags", # You can just specify the packages manually here if your project is # simple. Or you can use find_packages(). - packages=find_packages(), + packages=find_packages(exclude=["tests"]), # Alternatively, if you want to distribute just a my_module.py, uncomment # this: # py_modules=["my_module"],