pyinstaller
Bundle a Python application and its dependencies into a single package. tldr-pages
On several platforms
Several platforms
Bundle a Python script into a one-folder bundle (output goes to dist/)
pyinstaller path/to/script.pyIdentifyBundle a Python script into a single executable file
pyinstaller --onefile path/to/script.pyIdentifyBundle a GUI application without opening a console window
pyinstaller --windowed path/to/script.pyIdentifySet the name of the bundled executable
pyinstaller --name app_name path/to/script.pyIdentifySet a custom icon for the executable
pyinstaller --icon path/to/icon.ico path/to/script.pyIdentifyInclude additional data files or directories in the bundle
pyinstaller --add-data "path/to/source:destination" path/to/script.pyIdentifyDisplay help
pyinstaller --helpIdentifyDisplay version
pyinstaller --versionIdentify