#172: win32com.gen_py issue persists in 1.4
--------------------------------------+-------------------------------------
Reporter: bar...@… | Owner: giovannibajo
Type: defect | Status: new
Priority: high | Milestone:
Component: PyInstaller | Version: PyInstaller 1.4
Severity: major | Keywords: win32com, gen_py,
EnsureDispatch
--------------------------------------+-------------------------------------
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>
--
Ticket URL: <http://www.pyinstaller.org/ticket/172>
PyInstaller <http://www.pyinstaller.org>
PyInstaller Project
--
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pyinstaller?hl=en.