From 8e27ad3547b0d558e56cbb4783c4cc9d57bb1613 Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Sat, 15 May 2021 23:01:52 +0200 Subject: [PATCH] include full websockets module due to dynamic imports not being identifiable by cx_freeze --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index 1c899402..28941930 100644 --- a/setup.py +++ b/setup.py @@ -83,6 +83,7 @@ cx_Freeze.setup( executables=exes, options={ "build_exe": { + "packages": ["websockets"], "includes": [], "excludes": ["numpy", "Cython", "PySide2", "PIL", "pandas"],