pyinstaller/pyinstaller — pull request #21 by pmcnr (2012-09-10 00:35:20+00:00)
Title: Develop

Issue #159: Enable configuration of the `pyi_rth_qt4plugins` run-time hook, more specifically setting the correct *PyQt* API version, by a user provided `pyi_rth_user_config` module.

This approach seemed like the less intrusive and should be extendable in a generic way to all run-time hooks.

This is obviously just a proposal, but as mentioned, it solves the problem of the user being able to configure the behaviour of run-time hooks in a simple manner by setting the convention of the user provided `pyi_rth_user_config` module where constants can be defined to parametrize the behaviour of the run-time hooks.

Any comments an suggestions regarding fixes / enhancements are welcome.