Installation¶
In a virtual environment, install by issuing the command:
pip install --upgrade cx_Freeze
Without virtual environment, depending on the system:
python -m pip install --upgrade cx_Freeze
or
python3 -m pip install --upgrade cx_Freeze
Python requirements¶
cx_Logging 3.0 - installed automatically on Windows;
importlib-metadata - installed automatically;
setuptools - installing from source requires
setuptools
(installed automatically in virtual environments).
Requirement for all SO¶
C compiler - if installing from sources.
Requirement for Linux¶
patchelf
To install patchelf in debian/ubuntu:
sudo apt-get install patchelf
To install patchelf in fedora:
dnf install patchelf
Or install patchelf from sources:
git clone -b 0.12 --single-branch https://github.com/NixOS/patchelf.git cd patchelf ./bootstrap.sh ./configure make sudo make install
Pipenv¶
Using pipenv, install or update by issuing one of the folowing commanda:
pipenv install cx_Freeze pipenv update cx_Freeze
Anaconda / Miniconda¶
conda install -c conda-forge cx_freeze