From 630446d9ca20ced98f4ccf49c8d97cec1405e08a Mon Sep 17 00:00:00 2001 From: lifegpc Date: Thu, 9 Sep 2021 19:23:19 +0800 Subject: [PATCH] exclude unittest when using py2exe to build with py39 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 5e0ac3b..2b3290c 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ if "py2exe" in sys.argv: "py2exe": { "optimize": 2, "compressed": 1, - "excludes": ["pydoc"] + "excludes": ["pydoc", "unittest"] } }, "zipfile": None,