Differences between revisions 4 and 5
Revision 4 as of 2004-01-12 12:18:29
Size: 850
Editor: cache1-1-ffm-vpn
Comment:
Revision 5 as of 2004-01-12 17:28:43
Size: 888
Editor: cache1-1-ffm-vpn
Comment:
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
#!python
Line 26: Line 27:
{{{zipfile = r"lib\shardlib"}}} {{{
#!python
zipfile = r"lib\shardlib"
}}}
Line 30: Line 34:
{{{zipfile = r"lib\shardlib.zip"}}} {{{
#!python
zipfile = r"lib\shardlib.zip"
}}}

Where to correct

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

(line 54 ff..)

   1 ################################################################
   2 # arguments for the setup() call
   3 
   4 test_wx = dict(
   5     script = "test_wx.py",
   6     other_resources = [(RT_MANIFEST, 1, manifest_template % dict(prog="test_wx"))],
   7     dest_base = r"prog\test_wx")
   8 
   9 zipfile = r"lib\shardlib"
  10 
  11 options = {"py2exe": {"compressed": 1,
  12                       "optimize": 2}}
  13 
  14 ################################################################

what to do

The Error is within

   1 zipfile = r"lib\shardlib"

it has to be

   1 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)