I need to add additional import-methods to an py2exed program. [I want to pull some of the code from a database]

I want to do this in the most unintrusive way possible.

On googling import hooks etc. I found within PEP 302:

"py2exe currently uses Installer's iu.py"

and am wondering if this is STILL correct.

Has anybody example code for adding additional import hooks while using py2exe? Or clear information which of the various import modifications py2exe uses "today"?

best wishes,


GHUM Harald Massa
persuadere et programmare
Harald Armin Massa
Reinsburgstraße 202b
70197 Stuttgart
Python: the only language with more web frameworks than keywords.