Skip to main content

Create standalone executables from Python scripts

Project description

cx_Freeze creates standalone executables from Python scripts, with the same performance, is cross-platform and should work on any platform that Python itself works on.

PyPI version PyPi Downloads Conda Version Conda Downloads Python Actions status CodeQL Coverage Ruff Documentation Status

Installation

Choose the Python package manager according to your system. See how the installation works with the most common ones, which are pip and conda.

To install the latest version of cx_Freeze using pip into a virtual environment:

pip install --upgrade cx_Freeze

To install the latest development build:

pip uninstall cx_Freeze
pip install --extra-index-url https://test.pypi.org/simple/ cx_Freeze --pre --no-cache

Installing cx_freeze from the conda-forge channel can be achieved with the command:

conda install conda-forge::cx_freeze

Please check the installation for more information.

Documentation

The official documentation is available here.

If you need help you can also ask on the discussion channel.

What's New v8.0:

  • Python 3.13 support.
  • Python 3.13 free-threaded support for Linux and macOS.
  • Download and extract the MSVC Redistributable files (instead of collecting).
  • Implement bases using PEP587 - Python Initialization Configuration.
  • Drop Python 3.8 support.
  • New and Improved hooks.
  • Bug fixes and improvements.

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.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page