From 3d291c04cbcf49f3702e7f1eb5fdba8830d5d41a Mon Sep 17 00:00:00 2001 From: iLLiCiTiT Date: Fri, 4 Jun 2021 17:59:27 +0200 Subject: [PATCH 1/2] added "dbm" module to install_requires --- setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 927dd28afd..70f32537af 100644 --- a/setup.py +++ b/setup.py @@ -46,7 +46,9 @@ install_requires = [ "httplib2", # Harmony implementation "filecmp", - "dns" + "dns", + # Python defaults (cx_Freeze skip them by default) + "dbm" ] includes = [] From c7c13b7142ad838f43fbefa929a5f5b2e97a69ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Samohel?= <33513211+antirotor@users.noreply.github.com> Date: Fri, 4 Jun 2021 18:06:25 +0200 Subject: [PATCH 2/2] Update setup.py add comment about cx_freeze excludes behavior --- setup.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/setup.py b/setup.py index 70f32537af..55098cb0b4 100644 --- a/setup.py +++ b/setup.py @@ -52,6 +52,10 @@ install_requires = [ ] includes = [] +# WARNING: As of cx_freeze there is a bug? +# when this is empty, its hooks will not kick in +# and won't clean platform irrelevant modules +# like dbm mentioned above. excludes = [ "openpype" ]