Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 610 Bytes

README.adoc

File metadata and controls

25 lines (17 loc) · 610 Bytes

Simple example of cx_Freeze

  • app.py is an example app which uses extra packages (numpy in this case).

  • requirements.txt contains a list of dependencies, including cx_Freeze.

  • Dockerfile builds an executable with cxfreeze.

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.