简介
PyInstaller bundles a Python application and all its dependencies into a single package. The user can run the packaged app without installing a Python interpreter or any modules. PyInstaller supports Python 3.5 or newer, and correctly bundles the major Python packages such as numpy, PyQt, Django, wxPython, and others.
PyInstaller is tested against Windows, Mac OS X, and GNU/Linux. However, it is not a cross-compiler: to make a Windows app you run PyInstaller in Windows; to make a GNU/Linux app you run it in GNU/Linux, etc. PyInstaller has been used successfully with AIX, Solaris, FreeBSD and OpenBSD but testing against them is not part of our continuous integration tests.
PyInstaller将Python应用程序及其所有依赖项打包到一个包中,用户无需安装Python解释器或任何模块即可运行打包的应用程序。
PyInstaller会读取用户编写的Python脚本,并分析所有代码从而找出所有你的代码运行所需的模块和库。然后,它收集所有这些文件的副本,包括Python解释器,并将它们与脚本一起放在一个文件夹中,或者可选地放在一个可执行文件中。</