mirror of
https://github.com/panda3d/panda3d.git
synced 2026-05-12 17:48:49 -05:00
dist: Fix frozen modules not packaged (such as zipimport in Python 3.8+)
This commit is contained in:
Vendored
+3
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user