pyinstaller for mac code example
Example 1: pyinstaller
pyinstaller --onefile --windowed --icon=<project-logo>.ico --add-data "<folder>;<folder>" <filename.py>
Example 2: pyinstaller
pip install pyinstaller
Example 3: pyinstaller dmg on mac
pyinstaller myscript.py
Example 4: pyinstaller how to use mac
$ pyinstaller --onefile --windowed --icon icon.icns --name testApp main.py