Posted on 2011-08-02 07:28
RTY 阅读(503)
评论(0) 编辑 收藏 引用 所属分类:
Python 、
软件 、
转载随笔
Stable release
The latest stable release of PyInstaller is 1.5.1 (Change Log). See below for download links.
Features
- Packaging of Python programs into standard executables, that work on computers without Python installed.
- Multiplatform: works under Windows (32-bit and 64-bit), Linux (32-bit and 64-bit) and Mac OS X (32-bit only, 64-bit in svn, see MacOsCompatibility).
- Multiversion: works under any version of Python from 2.2 up to 2.7.
- Flexible 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.
- Custom: you can automate PyInstaller to do whatever packaging mode you want through a simple script file in Python.
- Explicit intelligent support for many 3rd-packages (for hidden imports, external data files, etc.), to make them work with PyInstaller out-of-the-box (see SupportedPackages).
- Full single-file EGG support: required .egg files are automatically inspected for dependencies and bundled, and all the egg-specific features are supported at runtime as well (entry points, etc.).
- Partial directory EGG support: required .egg directories are automatically inspected for dependencies and bundled, but egg-specific features will not work at runtime.
- Automatic support for binary libraries used through ctypes (see CtypesDependencySupport for details).
- Support for automatic binary packing through the well-known UPX compressor.
- Optional console mode (see standard output and standard error at runtime).
- Windows-specific features:
- Support for code-signing executables.
- Full automatic support for CRTs: no need to manually distribute MSVCR*.DLL, redist installers, manifests, or anything else; true one-file applications that work everywhere! (seePython26Win)
- Selectable executable icon.
- Fully configurable version resource section and manifests in executable.
- Support for building COM servers.
- Mac-specific features:
License
PyInstaller is distributed under the GPL license (see the file doc/LICENSE.GPL in the source code), with a special exception which allows to use PyInstaller to build and distribute non-free programs (including commercial ones). In other words, you have no restrictions in using PyInstaller as-is, but any kind of modifications to it will have to comply with the GPL license. See also our FAQ.