pyinstaller
pyinstaller copied to clipboard
PyInstaller official GIT repository(修正了windows下运行时路径不支持中文的问题)
PyInstaller
Official website: http://www.pyinstaller.org
Requirements
-
Python:
- 2.4 - 2.7 (Python 3 is not supported)
-
Windows (32bit/64bit):
- Windows XP or newer.
- pywin32_ when using Python 2.6+
-
Linux (32bit/64bit)
- ldd: console application to print the shared libraries required by each program or shared library.
- objdump: Console application to display information from object files.
-
Mac OS X (32/64bit):
- Mac OS X 10.4 (Tiger) or newer (Leopard, Snow Leopard, Lion).
-
Solaris (experimental)
- ldd
- objdump
-
AIX (experimental)
- AIX 6.1 or newer. Python executables created using PyInstaller on AIX 6.1 should work on AIX 5.2/5.3. PyInstaller will not work with statically linked Python libraries which has been encountered in Python 2.2 installations on AIX 5.x.
- ldd
- objdump
-
FreeBSD (experimental)
-
ldd
-
objdump
-
Build your own loader:
cd bootloader; python waf configure build install
-
Usage
::
pyinstaller /path/to/yourscript.py
or the following when using PyInstaller without installation::
python pyinstaller.py /path/to/yourscript.py
For more details, see the doc/Manual.html
_.
Installation in brief
-
Unpack the archive on you path of choice.
-
For Windows (32/64bit), Linux (32/64bit) and Mac OS X (32/64bit) precompiled boot-loaders are available. So to install PyInstaller::
python setup.py install
For other platforms, users should first try to build the boot-loader before installation::
cd bootloader
python ./waf configure build install
Major changes in this release
See doc/CHANGES.txt
_.
.. _pywin32: http://sourceforge.net/projects/pywin32/
.. _doc/Manual.html
: http://pythonhosted.org//PyInstaller
.. _doc/CHANGES.txt
: https://github.com/pyinstaller/pyinstaller/blob/develop/doc/CHANGES.txt