py2exe and 64/32 bit windows

Grant Edwards invalid at invalid.invalid
Tue Apr 9 14:17:47 EDT 2013


Disclaimer: I'm a Unix guy and have been since the days of V7 on a
PDP-11 -- I rarely use MS Windows.

While I don't normally use Windows, I do occasionally have Python
applications (written under Linux) which I'd like to distribute to
Windows users. I've always used py2exe and Inno Setup to that, and
it's always worked OK (after a fair bit of stumbling around).

My "Windows partition" currently has a 64-bit Windows 7 Ultimate
installation.

I'm told that the executable I generate on that machine won't run on
Win7 32-bit installations.  I'm not surprised by that, but I'd like to
provide 32-bit operability -- and I'm not sure how one does that.

 * If I built an executable on a 32-bit windows system using py2exe,
   would it be usable on a 64-bit install?

 * Is there such a thing as a "fat" Windows binary that will run on
   both 32 and 64 bit systems?

 * Or do you build separate 32 and 64 bit binaries and rely on the
   installer to pick the right files?  [If Inno Setup can't do that, I
   can probably get somebody else to build the installer using
   something that can.] 

Or do I just wait until MS includs Python/tkinger/wxPython as part of
every Windows install?

-- 
Grant Edwards               grant.b.edwards        Yow! Are we live or on
                                  at               tape?
                              gmail.com            

                              
P.S. Don't tell anybody I can actually write programs that will run
     under MS Windows -- it's a secret.
                              



More information about the Python-list mailing list