PyInstaller is a program that converts (packages) Python programs into stand-alone executables, under Windows, Linux, and Mac OS X. Its main advantages over similar tools are that PyInstaller works with any version of Python since 1.5, it builds smaller executables thanks to transparent compression, it is fully multi-platform, and use the OS support to load the dynamic libraries, thus ensuring full compatibility.
Features of PyInstaller
- Packaging of Python programs into standard executables, that work on computers without Python installed.
- Multiplatform: works under Windows and Linux.
- Dual packaging mode:
- Single directory: build a directory containing an executable plus all the external binary modules (.dll, .pyd, .so) used by the program.
- Single file: build a single executable file, totally self-contained, which runs without any external dependency.
- Support for automatic binary packing through the well-known [WWW] UPX compressor.
- Optional console mode (see standard output and standard error at runtime).
- Selectable executable icon (Windows only).
- Fully configurable version resource section in executable (Windows only).
- Support for building COM servers (Windows only).