From 7dacceef04bbb689aaee7072a9e069b3e2a58002 Mon Sep 17 00:00:00 2001 From: Jake Date: Fri, 4 Sep 2020 17:55:30 +0200 Subject: [PATCH] Exclude tests from python package (#3650) --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 512d2757..6472eadb 100644 --- a/setup.py +++ b/setup.py @@ -52,7 +52,7 @@ setup( [">=2.7", "!=3.0.*", "!=3.1.*", "!=3.2.*", "!=3.3.*", "!=3.4.*"] ), install_requires=install_requires, - packages=find_packages() + ["scripts"], + packages=find_packages(exclude=["tests.*", "tests"]) + ["scripts"], package_data={ "platformio": [ "ide/tpls/*/.*.tpl",