From: Thomas H. <th...@py...> - 2004-06-01 19:44:59
|
David Fraser <da...@sj...> writes: > Hi > > Is it possible to set a list of packages to be included by py2exe in > the setup script instead of on the command line? > I tried packages=["wx"] but it didn't work. py2exe uses standard distutils conventions: you can also provide an options named parameter instead of command line options to the setup function, in this way: setup(..., options = {"py2exe": { "packages": ["wx"]}, ...}, ...) > BTW this is for building wxPRE, which is progressing ... we now have a > wxPRE.exe generated by py2exe that seems to run fine Have to look into this... Thomas |