Ticket #172 (new defect)
win32com.gen_py issue persists in 1.4
| Reported by: | barton@bcdesignswell.com | Owned by: | giovannibajo |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | PyInstaller | Version: | PyInstaller 1.4 |
| Severity: | major | Keywords: | win32com, gen_py, EnsureDispatch |
| Cc: |
Description
Despite a patch submission in 2006 found on http://osdir.com/ml/python.pyinstaller/2006-02/msg00069.html frozen apps fail to locate the win32com.gen_py directory when win32com.client.gencache.EnsureDispatch? is called to create interface files.
I have applied the patch to my pyinstaller-1.3 to solve the problem.
<QUOTE>
--- win32comgenpy1.1.py Mon Sep 12 06:33:10 2005 +++ win32comgenpy.py Sun Feb 19 07:28:40 2006 @@ -34,6 +34,7 @@ import win32com win32com.__gen_path__ = genpydir win32com.__path__.insert(0, supportdir) +sys.modules["win32com.gen_py"].__path__ = [ win32com.__gen_path__ ] # for older Pythons import copy_reg
</QUOTE>
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
