Awesome
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
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 v7.2:
- Improved bdist_dmg
- Add license for msi (bdist_msi)
- Minor improvements in bdist_appimage
- Drop rpm2_mode in bdist_rpm
- Use an optimized mode as default for pip installations of selected packages
- hooks: support numpy 2.0, rasterio, multiprocess (a multiprocessing fork), etc
- Regression fixes, bug fixes and improvements
What's New v7.1:
- Added new option --zip-filename in build_exe
- Bug fixes and improvements
What's New v7.0:
- Added support for pyproject.toml
- Create Linux AppImage format: bdist_appimage
- Create an DEB distribution: bdist_deb
- Improved bdist_mac
- New and updated hooks, including support for QtWebengine on macOS
- Python 3.12 support.
- Improved tests and coverage ( >80% ).
- 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.