-
app.py
is an example app which uses extra packages (numpy
in this case). -
requirements.txt
contains a list of dependencies, includingcx_Freeze
. -
Dockerfile
builds an executable withcxfreeze
.
To do that manually, first run
pip install --no-cache-dir --requirement requirements.txt
Then
cxfreeze app.py
The result is a folder build/exe.linux-x86_64-<Python-version>/
.
It contains an executable binary app
and a lot of dependencies in the lib
dir.