From 961487cd3d7384ffeb7f61948ef889289a31ec34 Mon Sep 17 00:00:00 2001 From: Mitchell Stokes Date: Mon, 22 May 2017 21:52:51 -0700 Subject: [PATCH] deploy-ng: Fix to allow namespace packages --- direct/src/showutil/FreezeTool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/direct/src/showutil/FreezeTool.py b/direct/src/showutil/FreezeTool.py index 932890d7c2..237415c190 100644 --- a/direct/src/showutil/FreezeTool.py +++ b/direct/src/showutil/FreezeTool.py @@ -713,7 +713,7 @@ class Freezer: # special path mangling.) for moduleName, module in list(sys.modules.items()): if module and hasattr(module, '__path__'): - path = getattr(module, '__path__') + path = list(getattr(module, '__path__')) if path: modulefinder.AddPackagePath(moduleName, path[0])