From: Paul K. <pk...@eq...> - 2006-11-20 21:00:07
|
Hi... I've had excellent success with py2exe, including the "single executable" magic (using NSIS). Thanks for the nice work. Naturally, as soon as I showed the results, someone asked about an enhancement: "how about a 64 bit binary?" I searched the list and found nothing, so... is there any way to generate native 64-bit mode binaries with py2exe? paul |
From: Thomas H. <th...@ct...> - 2006-11-21 09:34:55
|
Paul Koning schrieb: > Hi... > > I've had excellent success with py2exe, including the "single > executable" magic (using NSIS). Thanks for the nice work. > > Naturally, as soon as I showed the results, someone asked about an > enhancement: "how about a 64 bit binary?" > > I searched the list and found nothing, so... is there any way to > generate native 64-bit mode binaries with py2exe? You mean generating 64-bit executables, on 64-bit Windows machines, with a 64-bit build of Python? Nobody has tried that, AFAIK. Thomas |
From: Paul K. <pk...@eq...> - 2006-11-21 12:07:05
|
>>>>> "Thomas" == Thomas Heller <th...@ct...> writes: Thomas> Paul Koning schrieb: >> Hi... >> >> I've had excellent success with py2exe, including the "single >> executable" magic (using NSIS). Thanks for the nice work. >> >> Naturally, as soon as I showed the results, someone asked about an >> enhancement: "how about a 64 bit binary?" >> >> I searched the list and found nothing, so... is there any way to >> generate native 64-bit mode binaries with py2exe? Thomas> You mean generating 64-bit executables, on 64-bit Windows Thomas> machines, with a 64-bit build of Python? Nobody has tried Thomas> that, AFAIK. Almost. I can build 64-bit executables on a 32-bit Windows machine with MS software build tools. So, ideally, I'd want to generate 64-bit executables, from a 64-bit build of Python, using a 32-bit Windows machine as the build system. paul |
From: Thomas H. <th...@ct...> - 2006-11-21 18:24:41
|
Paul Koning schrieb: >>>>>> "Thomas" == Thomas Heller <th...@ct...> writes: > > Thomas> Paul Koning schrieb: > >> Hi... > >> > >> I've had excellent success with py2exe, including the "single > >> executable" magic (using NSIS). Thanks for the nice work. > >> > >> Naturally, as soon as I showed the results, someone asked about an > >> enhancement: "how about a 64 bit binary?" > >> > >> I searched the list and found nothing, so... is there any way to > >> generate native 64-bit mode binaries with py2exe? > > Thomas> You mean generating 64-bit executables, on 64-bit Windows > Thomas> machines, with a 64-bit build of Python? Nobody has tried > Thomas> that, AFAIK. > > Almost. I can build 64-bit executables on a 32-bit Windows machine > with MS software build tools. That is because the 64-bit compiler is a 32-bit program. > So, ideally, I'd want to generate > 64-bit executables, from a 64-bit build of Python, using a 32-bit > Windows machine as the build system. Hm, but why on a 32-bit machine? A quick experiment shows that py2exe can be built as 64-bit extension creating 64-bit programs on a 64-bit machine (after some tweaks, and the --bundle option does NOT work). You can, however, run the 64-bit py2exe only on a 64-bit machine with 64-bit Python. Thomas |
From: Paul K. <pk...@eq...> - 2006-11-21 18:54:41
|
>>>>> "Thomas" == Thomas Heller <th...@ct...> writes: Thomas> Paul Koning schrieb: >> Almost. I can build 64-bit executables on a 32-bit Windows >> machine with MS software build tools. Thomas> That is because the 64-bit compiler is a 32-bit program. Ah... >> So, ideally, I'd want to generate 64-bit executables, from a >> 64-bit build of Python, using a 32-bit Windows machine as the >> build system. Thomas> Hm, but why on a 32-bit machine? It would be convenient, because that's how our existing build environment is set up. We build a bunch of MS based stuff, both 32 and 64 bit, using a 32 bit build system. I just created a Python based utility that gets packaged up with py2exe for Windows users. And getting that added to the build system was easy for the 32 bit flavor. Thomas> A quick experiment shows that py2exe can be built as 64-bit Thomas> extension creating 64-bit programs on a 64-bit machine (after Thomas> some tweaks, and the --bundle option does NOT work). Thomas> You can, however, run the 64-bit py2exe only on a 64-bit Thomas> machine with 64-bit Python. Ok, so I'll have to add a 64 bit machine to our setup. Should be doable. Thanks! paul |