pyinstaller

Bundle Python applications and dependencies into standalone executables

brewmacoslinux
Try with needOr install directly
Source

About

Bundle a Python application and all its dependencies

Commands

pyinstaller

Examples

Create a standalone executable from a Python script$ pyinstaller --onefile myapp.py
Build a Windows executable with a custom icon$ pyinstaller --onefile --icon=myicon.ico myapp.py
Create a no-console executable for GUI applications$ pyinstaller --onefile --windowed myapp.py