[wxPython-users] Re: Platform<=>version conflict or what?

Werner F. Bruhin werner.bruhin at free.fr
Fri May 18 00:01:55 PDT 2007


Hi Jorma,

Jorma Paavola wrote:
> ...
> I had today some more time to study the problematics on Win98 using 
> Boa on Win2k by generating various TestGUI´s(.exe-file) with py2exe :
>
> The plain facts on win98 are:
> - python ansi/unicode version has nothing to do with the problematics !
> - lack of resources has nothing to do with the problematics !
> - so GcCollect has neither no influence !
The resource problem you will only run in on an application which uses 
many more widgets.
>
> BUT I have found from win98-environment one depending factor: 
> "bundle_files" option used in setup (in win2k) !
>
> If "bundle_files" <= 2 in setup, py2exe generates 3-4 files on 
> dist-folder. When try´ing to run generated .exe-file from dist-folder 
> on win98 problems are coming ...
>
> If "bundle_files" > 2 or don´t exist, py2exe generates more than 10 
> files on dist-folder. Generated .exe-file runs from dist-folder on 
> win98 fully perfectly ! (even without GcCollect !!)
>
> My intension is to "pack" everything necessary on one single executive 
> whenever possible without using extra wrapping-sw´s !
>
> Therefore I now suspect, that "packing" of files with  py2exe
> obviously don´t fit for use on Win98 !!? - So Summa Summarum: There is 
> possible a version conflict between py2xe and win98 !??
>
> What is your opinion ?
>
> Do you see, that "bundle_files"-argument should be avoided and just 
> wrap the files together to allow them to run on all Win´s ?
I never used the bundle options nor did I try to create the single file 
option Oleg is mentioning.  My app includes a database and some other 
files which can't be bundled.  I distribute it with InnoSetup, which 
works fine for me.

As Oleg confirmed there is some issue with py2exe bundle option when 
running on win98.   So, maybe try out the link he mentioned and in worst 
case you can always use something like InnoSetup to deliver a single 
.exe installer which then puts all the different files needed for your 
application in the appropriate folders.

Werner




More information about the wxpython-users mailing list