pyinstaller
Bundle a Python application and its dependencies into a single package. More information: https://pyinstaller.org/en/stable/man/pyinstaller.html.
- Bundle a Python script into a one-folder bundle (output goes to
dist/):
pyinstaller
- Bundle a Python script into a single executable file:
pyinstaller
- Bundle a GUI application without opening a console window:
pyinstaller
- Set the name of the bundled executable:
pyinstaller
- Set a custom icon for the executable:
pyinstaller
- Include additional data files or directories in the bundle:
pyinstaller --add-data ":"
- Display help:
pyinstaller
- Display version:
pyinstaller
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
