matysek/pyinstaller — pull request #13 by madprog (2014-11-12 07:54:26+00:00)
Title: Make pyi_importers store sys.prefix locally

Make pyi_importers store sys.prefix locally.

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