From: Schollnick, B. <Ben...@xe...> - 2005-05-19 17:49:06
|
Folks, This works fine.... ---------------------------------------- from distutils.core import setup import py2exe #setup(console=3D["console.py"] ) setup(console=3D["audit_gui.py"], zipfile=3D"system_files\\library.zip", options =3D { "py2exe": { "typelibs" : [('{565783C6-CB41-11D1-8B02-00600806D9B6}', 0, 1, 2)], "packages" : ["encodings"] } } ) ---------------------------------------- But the following.... print "Console" setup(console=3D[initialization_data.cmd_line_options.app_to_build], author =3D tool.__author__ , name =3D tool.__application_name__, description =3D tool.__description__, version =3D tool.__version__, zipfile=3D"system_files\\library.zip", options =3D { "py2exe":{"optimize":2, "typelibs" : [('{565783C6-CB41-11D1-8B02-00600806D9B6}', 0, 1, 2)], "packages": ["encodings"], "compressed": 1}} ) Is failing... And I have not been able to isolate the problem... C:\develope\security>build.py -b audit_gui.py ensured after Console running py2exe *** generate typelib stubs *** error: C:\develope\security\build\bdist.win32\winexe\temp\win32com\gen_py\56578 3 C6-CB41-11D1-8B02-00600806D9B6x0x1x2\SWbemObject.py: No such file or directory Any suggestions? - Benjamin |