Must have pyinstaller installed to build.
pip install pyinstaller
A clean spec file is already present as Idle Breakout.spec
. Alternativley, use the below commands to generate a new one.
pyi-makespec --onefile --windowed --add-data "images:./images" --name "Idle Breakout" --icon "icon.icns" main.py
pyi-makespec --onefile --windowed --add-data "images;./images" --name "Idle Breakout" --icon "icon.icns" main.py
pyinstaller --noconfirm Idle\ Breakout.spec