pyinstaller in mac build exe file code example
Example 1: pyinstaller make exe
1. pip install pyinstaller
2. cd to your file directory in the commandline
3. pyinstaller yourprogram.py
Example 2: pyinstaller how to use mac
$ pyinstaller --onefile --windowed --icon icon.icns --name testApp main.py