I am asking this because it is not information that I could find on the internet. Can an executable file run on all systems? If not, then how to you make different executable files for different systems? I use auto-py-to-exe (but my problem is here) at the moment but am having trouble with cx-freeze (Question here - it doesn't have any answers). I am not sure about py-installer (although by the looks of things auto-py-to-exe uses py-installer - Possible Idiot Statement). Can someone give me an answer with sources? I code in python - using windows 10.
Asked
Active
Viewed 920 times
0
-
What systems are you including in "all systems"? Do you include Linux, Android, MacOS, etc? – lurker Apr 20 '20 at 11:37
1 Answers
3
'auto-py-to-exe' use 'PyInstaller'.
And 'PyInstaller' freezes (packages) Python applications into stand-alone executables, under Windows, GNU/Linux, Mac OS X, FreeBSD, Solaris and AIX. But It doesn't support a cross compile. (https://github.com/pyinstaller/pyinstaller/wiki/FAQ)
If you want Mac executable file, you have to perform it under Mac system.

Minu
- 380
- 2
- 12