From: le d. <le....@la...> - 2009-12-24 11:10:57
|
Werner F. Bruhin wrote : > le dahut wrote: >> le dahut wrote : >>> Hello, >>> >>> A WX builded with python 2.5 with a manifest file had a correct XP look. >>> >>> I've noticed that using a manifest with python 2.6 causes a Runtime >>> Error. So I disabled it, and after building it also had a XP look. >>> >>> But, in "setup.py", when I use option : >>> * "bundle_files": 1 >>> and parameter : >>> * zipfile = None >>> >>> My WX app doesn't have the XP look anymore. >>> >>> Is there something special to do to correct this ? >>> >>> >>> I use : >>> * py2exe-0.6.9.win32-py2.6.exe >>> * python-2.6.4.msi >>> * pywin32-214.win32-py2.6.exe >>> * wxPython2.8-win32-unicode-2.8.10.1-py26.exe >>> >>> >> >> Somebody has an idea ? >> >> Is it an already known bug maybe ? > Have a look on this wiki page, the sample app/setup.py does have the > correct look. > > Note that with recent version of wxPython and Py26 you don't need to > specify a manifest as wxPython does the necessary stuff internally. > > Keep in mind that I never managed to get bundle_files "1" work in this, > frankly haven't tried very hard as I don't need this at all, always use > "3" and a zip file and an InnoSetup installer to deploy. > > Werner > Mark, Werner, thank you for your answers. I use bundle_file=1 and zipfile=None because with this the application loads faster. I've understood that I must avoid the use of a manifest file with python-2.6. I wish you all an happy end of year/holidays and a new year full of fun. |