pyinstaller/pyinstaller — pull request #31 by matysek (2012-12-22 11:41:46+00:00)
Title: PEP302 based importers for frozen app

This implements the PEP302 based import hooks by extending sys.meta_path. This new code completely replaces old iu.py file by using features available in Python.

The main file is ./PyInstaller/loader/pyi_importers. It contains importers for frozen modules, built-in modules and C-extensions.

By using PEP302 import hooks the frozen apps are able to use the built-in zipimporter available on sys.path_hooks.

http://www.python.org/dev/peps/pep-0302/