Monday, February 3, 2014

How to avoid cx_Freeze generating when packing Python files?

The cx_Freeze is a tool that packs Python files to generate a EXE file. How do we avoid it generating The following source tree is an example.

  [MyApp] ---- cx_Freeze setup program ---- the python file that will be packed in EXE.
  [build]    ---- The directory is generated by cx_Freeze

The content of the is:

We perform the following command to pack in MyApp.exe.

Workspace> python MyApp\ build

You cannot find in the build directory because create_shared_zip is assigned to False.


No comments:

Post a Comment