From: David F. <da...@sj...> - 2004-06-02 10:16:40
|
Thomas Heller wrote: >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"]}, > ...}, > ...) > > Brilliant, thanks Thomas, I didn't know this... >>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... > > At the moment its working fairly well (see the stuff on the wxPython list) Its going to be interesting working out how to use distutils + py2exe to bundle wxPRE either by itself or with an application Also looking at creating installers based on py2exe... David |