create standalone executables from Python scripts


Keywords
freeze
License
Python-2.0
Install
pip install cx_Freeze==5.1.1

Documentation

About cx_Freeze

cx_Freeze is a set of scripts and modules for freezing Python scripts into executables, in much the same way that py2exe and py2app do. Unlike these two tools, cx_Freeze is cross platform and should work on any platform that Python itself works on. It supports Python 3.5 or higher.

If you need support for Python 2.x, cx_Freeze version 5 should be used instead.

Download/Install

Install by issuing the command

python -m pip install cx_Freeze --upgrade

or download directly from PyPI.

If you do not have pip installed or would prefer a more manual installation process, the following steps also work once the source package has been downloaded and extracted:

python setup.py build
python setup.py install

To build with MSVC versions after 9.0 use this trick:

set VS100COMNTOOLS=%VS140COMNTOOLS%

Documentation

The official documentation is available here.

If you need help you can also ask on the official mailing list: https://lists.sourceforge.net/lists/listinfo/cx-freeze-users

License

cx_Freeze uses a license derived from the Python Software Foundation License. You can read the cx_Freeze license in the documentation or in the source repository.