From 631bea93cbf68b0b6ac83c0a95d53c638a703def Mon Sep 17 00:00:00 2001 From: Chris Burr Date: Fri, 28 Aug 2020 12:27:30 +0200 Subject: [PATCH] Excludes "tests" from installation --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 08baacc..4087fc6 100644 --- a/setup.py +++ b/setup.py @@ -76,7 +76,7 @@ # You can just specify the packages manually here if your project is # simple. Or you can use find_packages(). - packages=find_packages(exclude=['dist', 'docs', 'build']), + packages=find_packages(exclude=['dist', 'docs', 'build', 'tests', 'tests.*']), # Alternatively, if you want to distribute just a my_module.py, uncomment # this: