pyinstaller/pyinstaller — pull request #1082 by madprog (2014-11-12 13:18:21+00:00)
Title: Make pyi_importers store sys.prefix locally

Otherwise, they may fail if sys.prefix is changed.
Additionally, this makes possible to call pyi_importers.install() with a
temporarily changed sys.prefix to point to another temporary directory.