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
In a virtual environment, install by issuing the command:
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
Please check the installation for more information and how to install in other environments.
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.