mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
deploy-ng: Fix to allow namespace packages
This commit is contained in:
parent
3a2435b2d9
commit
961487cd3d
@ -713,7 +713,7 @@ class Freezer:
|
|||||||
# special path mangling.)
|
# special path mangling.)
|
||||||
for moduleName, module in list(sys.modules.items()):
|
for moduleName, module in list(sys.modules.items()):
|
||||||
if module and hasattr(module, '__path__'):
|
if module and hasattr(module, '__path__'):
|
||||||
path = getattr(module, '__path__')
|
path = list(getattr(module, '__path__'))
|
||||||
if path:
|
if path:
|
||||||
modulefinder.AddPackagePath(moduleName, path[0])
|
modulefinder.AddPackagePath(moduleName, path[0])
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user