[Image-SIG] Image.py suggestion for py2exe support

Ben Allfree benles@bldigital.com
Tue, 4 Mar 2003 20:06:36 -0800


Though not actually a bug, I recommend putting a note in the documentation
that the Image module uses dynamic __imports__ that are incompatible with
py2exe.

I also recommend telling users to explicitly import needed ImagePlugins in
Image.init():


    # ******************************
    # py2exe hack
    import GifImagePlugin
    # ******************************

    # only check directories (including current, if present in the path)
    for directory in filter(isDirectory, directories):
	...
	...
	...