|
|
@@ -90,6 +90,7 @@ ignoreImports = {
|
|
|
'direct.showbase.PythonUtil': ['pstats', 'profile'],
|
|
|
|
|
|
'toml.encoder': ['numpy'],
|
|
|
+ 'py._builtin': ['__builtin__'],
|
|
|
}
|
|
|
|
|
|
if sys.version_info >= (3, 8):
|
|
|
@@ -106,7 +107,7 @@ overrideModules = {
|
|
|
# Used by the warnings module, among others, to get line numbers. Since
|
|
|
# we set __file__, this would cause it to try and extract Python code
|
|
|
# lines from the main executable, which we don't want.
|
|
|
- 'linecache': """__all__ = ["getline", "clearcache", "checkcache"]
|
|
|
+ 'linecache': """__all__ = ["getline", "clearcache", "checkcache", "lazycache"]
|
|
|
|
|
|
cache = {}
|
|
|
|
|
|
@@ -662,7 +663,7 @@ okMissing = [
|
|
|
'email.Iterators', '_subprocess', 'gestalt', 'java.lang',
|
|
|
'direct.extensions_native.extensions_darwin', '_manylinux',
|
|
|
'collections.Iterable', 'collections.Mapping', 'collections.MutableMapping',
|
|
|
- 'collections.Sequence', 'numpy_distutils',
|
|
|
+ 'collections.Sequence', 'numpy_distutils', '_winapi',
|
|
|
]
|
|
|
|
|
|
# Since around macOS 10.15, Apple's codesigning process has become more strict.
|
|
|
@@ -2625,9 +2626,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
|