Using Wine and Pyinstaller. Pyinstaller is a program that packages Python programs into stand-alone executables, under the most used OSs (Windows, Linux, Mac OS X, FreeBSD, Solaris and AIX). Initially Pyinstaller had a beta feature that allows the cross-compilation of a windows executable under Linux. However, due the instability of …
Article Link: https://andreafortuna.org/technology/how-to-cross-compile-a-python-script-into-a-windows-executable-on-linux/