Skip to content

Latest commit

 

History

History
94 lines (64 loc) · 2.4 KB

README.rst

File metadata and controls

94 lines (64 loc) · 2.4 KB
http://www.pyinstaller.org/chrome/site/logo.png

PyInstaller

http://img.shields.io/pypi/v/PyInstaller.png http://img.shields.io/pypi/dm/PyInstaller.png http://img.shields.io/travis/pyinstaller/pyinstaller.png
Official website: http://www.pyinstaller.org
Full changelog: changelog

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. This typically can by found in the distribution-package glibc or libc-bin.
    • objdump: Console application to display information from object files. This typically can by found in the distribution-package binutils.
  • Mac OS X (32/64bit):
    • Mac OS X 10.4 (Tiger) or newer.

Installation

PyInstaller is available on PyPI. You can install it through pip:

pip install pyinstaller

Usage

Basic usage is very simple, just run it against your main script:

pyinstaller /path/to/yourscript.py

For more details, see the manual.

Experimental ports

  • Solaris
    • ldd
    • objdump
  • AIX
    • 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
  • FreeBSD
    • ldd

Before using experimental ports, you need to build the PyInstaller bootloader, as we do not ship binary packages. Download PyInstaller sources, and build the bootloader:

cd bootloader
python ./waf configure build install

then install PyInstaller:

python setup.py install

or simply use it direclty from the source (pyinstaller.py).