mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 00:06:44 -04:00
dist: Fix frozen modules not packaged (such as zipimport in Python 3.8+)
This commit is contained in:
parent
98e3b1f03e
commit
e9b5092734
6
direct/src/dist/FreezeTool.py
vendored
6
direct/src/dist/FreezeTool.py
vendored
@ -2563,9 +2563,9 @@ class PandaModuleFinder(modulefinder.ModuleFinder):
|
||||
(or self.path if None). Returns a tuple like (fp, path, stuff), where
|
||||
stuff is a tuple like (suffix, mode, type). """
|
||||
|
||||
if imp.is_frozen(name):
|
||||
# Don't pick up modules that are frozen into p3dpython.
|
||||
raise ImportError("'%s' is a frozen module" % (name))
|
||||
#if imp.is_frozen(name):
|
||||
# # Don't pick up modules that are frozen into p3dpython.
|
||||
# raise ImportError("'%s' is a frozen module" % (name))
|
||||
|
||||
if parent is not None:
|
||||
fullname = parent.__name__+'.'+name
|
||||
|
Loading…
x
Reference in New Issue
Block a user