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

What's New v8.3:

  • Experimental support for Python 3.11 to 3.13 on Windows ARM64 (win_arm64).
  • Bug fixes, hooks, and more tests.

What's New v8.2:

  • Make MSI checkbox to "launch on finish" optional.
  • Bug fixes, hooks, and more tests.

What's New v8.1:

  • Add "launch on finish" checkbox to the MSI installer.
  • Bug fixes and improvements (including hook additions and enhancements).

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.
  • Implement bases using PEP587 - Python Initialization Configuration.
  • Drop Python 3.8 support.
  • Bug fixes and improvements (including hook additions and enhancements).

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.

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 Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page