# win32com: gencache problem

Thomas Heller thomas.heller at ion-tof.com
Thu May 17 21:46:20 CEST 2001

I wrote:
> ... Mark's testExplorer.py script (in win32com\test) builds out of
> the box and without any special arrangements in the build process.
> The first part using dynamic dispatch (the TestExplorer function)
> works like a charm, the TestExplorerEvents function fails because it
> needs the makepy generated support which is not automatically included
> into the exe-file.

I just checked in a fix for py2exe so that you can give a wildcard
to the -i option (which specifies additional modules to include).
With this fix you can add '-i win32com.gen_py.*' to the py2exe
command line and include all the makepy generated modules into the
executable. You better make sure that it does not contain too much...

Thomas