Creating a Windows executable on a Linux system

Grant Edwards grant.b.edwards at gmail.com
Wed Jun 26 10:16:17 EDT 2019


On 2019-06-26, Cecil Westerhof <Cecil at decebal.nl> wrote:

> [...] it seems that you need to be on a Windows system to create a
> Windows executable. Is this true, or is it possible to create a
> Windows executable on a Linux system?

AFIAK, you have to use a Windows system to create a windows
executable.  In the past, I used py2exe+InnoSetup for both tkinter and
wxPython Windows apps. But, py2exe seems to be a dead project and the
last time I tried to use it (a couple years ago) I couldn't get it to
work on recent Windows+Python versions.

Currently I use cx_freeze+InnoSetup for tkinter apps. (I no longer
have any wxPython apps I maintain for Windows.)  Another popular
option is PyInstaller, but I've never tried it.

  http://www.py2exe.org/
  https://anthony-tuininga.github.io/cx_Freeze/
  https://www.pyinstaller.org/
  http://www.jrsoftware.org/isinfo.php

-- 
Grant Edwards               grant.b.edwards        Yow! I wonder if I should
                                  at               put myself in ESCROW!!
                              gmail.com            




More information about the Python-list mailing list