From 9a3792d55c7cca52eb6775bda47a60a30db789fe Mon Sep 17 00:00:00 2001 From: lifegpc Date: Fri, 28 Jan 2022 12:44:43 +0800 Subject: [PATCH] fix py2exe build --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index ad75210..a880302 100644 --- a/setup.py +++ b/setup.py @@ -35,7 +35,8 @@ if "py2exe" in sys.argv: "py2exe": { "optimize": 2, "compressed": 1, - "excludes": ["pydoc", "unittest"] + "excludes": ["pydoc", "unittest"], + "includes": ["cryptography.utils", "_cffi_backend"] } }, "zipfile": None,