Differences between revisions 1 and 2
Revision 1 as of 2004-01-12 10:12:50
Size: 771
Editor: cache1-1-ffm-vpn
Comment:
Revision 2 as of 2004-01-12 10:14:17
Size: 832
Editor: cache1-1-ffm-vpn
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= The Problem = = Where to correct =
Line 22: Line 22:
= what to do =
Line 31: Line 33:
= additional information =
Line 32: Line 36:

20040112 HAM
Line 35: Line 41:



Where to correct

Within site-packages/py2exe/samples/extending/setup.py

(line 54 ff..)

# arguments for the setup() call

test_wx = dict(

  • script = "test_wx.py", other_resources = [(RT_MANIFEST, 1, manifest_template % dict(prog="test_wx"))], dest_base = r"prog\test_wx")

zipfile = r"lib\shardlib"

options = {"py2exe": {"compressed": 1,

  • "optimize": 2}}

what to do

The Error is within

zipfile = r"lib\shardlib"

it has to be

zipfile = r"lib\shardlib.zip"

additional information

I stumbled upon while trying to include win32com.client - that module was not able to find gen_py/init.py

20040112 HAM

ExtendingExample (last edited 2008-07-08 11:27:44 by localhost)