cx-Freeze

Create standalone executables from Python scripts


Keywords
cx-freeze, cxfreeze, cx_Freeze, freeze, python, freezing-python-scripts
License
PSF-2.0
Install
pip install cx-Freeze==6.0b1

Documentation

Version Downloads Python Code
PyPI version PyPi Downloads Python CodeQL Ruff
Conda Version Conda Downloads

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.

Installation

In a virtual environment, install by issuing the command:

pip install --upgrade cx_Freeze

To install the latest development build:

pip install --upgrade --pre --extra-index-url https://marcelotduarte.github.io/packages/ cx_Freeze

Please check the installation for more information and how to install in others environment such as pipenv, conda-forge, etc.

Documentation

Documentation Status

The official documentation is available here.

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

Highlights of Version 6.15:

  • Breaking change: remove camelCase in Executable api
  • New hooks: lazy_loader, librosa, jpype, pyimagej, pyreadstat
  • Improved hooks: matplotlib, pytorch, PyQt6, PySide6, TkInter
  • Bug fixes and improvements

Highlights of Version 6.14:

  • Support Python 3.11
  • Binary wheels (x86_64 and aarch64) for musllinux
  • Maintain Windows base executables on git (install from sources without C compiler)
  • Improved documentation
  • New hooks: charset_normalizer, shapely, sklearn, pytorch
  • Improved hooks: scipy, sqlite3
  • Bug fixes and improvements

Highlights of Version 6.2 up to 6.13:

  • Binary wheels (x86_64 and aarch64) for manylinux and macOS (including Apple Silicon)
  • New or improved hooks, especially matplotlib, numpy, PyQt5, PyQt6, PySide2, PySide6 and Tkinter
  • Support Application Manifests in Windows: manifest and uac-admin
  • Complete integration to setuptools instead of distutils
  • New dependency resolver on Windows
  • Support for pathlib.Path
  • New ModuleFinder engine uses importlib.machinery
  • Refactored Freezer
  • New support for package metadata improving Module and new DitributionCache
  • Enhanced support for Python 3.8 to 3.10, including MSYS2 and conda-forge distributions
  • Improvements for multiprocessing
  • Optimizations in detection and distribution of libraries
  • Code modernization
  • Various bug fixes.

License

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.