diff options
Diffstat (limited to 'Tools/freeze/freeze.py')
-rwxr-xr-x | Tools/freeze/freeze.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Tools/freeze/freeze.py b/Tools/freeze/freeze.py index 15ddbe6..c075807 100755 --- a/Tools/freeze/freeze.py +++ b/Tools/freeze/freeze.py @@ -366,8 +366,10 @@ def main(): mf.load_file(mod) # Alias "importlib._bootstrap" to "_frozen_importlib" so that the - # import machinery can bootstrap. + # import machinery can bootstrap. Do the same for + # importlib._bootstrap_external. mf.modules["_frozen_importlib"] = mf.modules["importlib._bootstrap"] + mf.modules["_frozen_importlib_external"] = mf.modules["importlib._bootstrap_external"] # Add the main script as either __main__, or the actual module name. if python_entry_is_main: |