[PyInstaller] #172: win32com.gen_py issue persists in 1.4

99 views
Skip to first unread message

PyInstaller Ticket

unread,
Apr 2, 2010, 4:26:47 PM4/2/10
to bar...@bcdesignswell.com, PyIns...@googlegroups.com
#172: win32com.gen_py issue persists in 1.4
--------------------------------------+-------------------------------------
Reporter: barton@… | 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

PyInstaller Ticket

unread,
Apr 3, 2010, 5:43:20 AM4/3/10
to ra...@develer.com, PyIns...@googlegroups.com
#172: win32com.gen_py issue persists in 1.4
--------------------------------------+-------------------------------------
Reporter: barton@… | Owner: giovannibajo
Type: defect | Status: new
Priority: high | Milestone:
Component: PyInstaller | Version: PyInstaller 1.4
Severity: major | Keywords: win32com, gen_py, EnsureDispatch
--------------------------------------+-------------------------------------

Comment(by giovannibajo):

I'm sorry about that. Can you confirm that the patch works in 1.4 as well?
If so, I'll merge it in for 1.4.1.

--
Ticket URL: <http://www.pyinstaller.org/ticket/172#comment:1>

Reply all
Reply to author
Forward
0 new messages