win32com.client.gencache and py2exe

Thomas Heller theller at python.net
Mon Sep 9 18:12:30 CEST 2002


"Syver Enstad" <syver-en+usenet at online.no> wrote in message news:uit1ftba1.fsf at online.no...
>
> When using py2exe to make package a python program that uses gencache
> to generate wrapper files from COM type libraries, the resulting
> installation fails because the win32com system is unable to find the
> generated files. Is there any workaround to this problem?z
>

It's already fixed in CVS. It should be sufficient if you replace
the existing build_exe.py by the new one which you can grab
from the CVS repository:
http://cvs.sourceforge.net/cgi-in/viewcvs.cgi/py2exe/py2exe/py2exe/build_exe.py
(the server seems down at the moment).

There's a new command line flag, which you must use to specify
the progids you use, like "--progids Excel.Application".

HTH,

Thomas





More information about the Python-list mailing list