The cx_Freeze is a tool that packs Python files to generate a EXE file. How do we avoid it generating Library.zip? The following source tree is an example.
[Workspace]
[MyApp]
Setup.py ---- cx_Freeze setup program
MyApp.py ---- the python file that will be packed in EXE.
[build] ---- The directory is generated by cx_Freeze
The content of the Setup.py is:
We perform the following command to pack MyApp.py in MyApp.exe.
Workspace> python MyApp\Setup.py build
You cannot find Library.zip in the build directory because create_shared_zip is assigned to False.
-Count
[Workspace]
[MyApp]
Setup.py ---- cx_Freeze setup program
MyApp.py ---- the python file that will be packed in EXE.
[build] ---- The directory is generated by cx_Freeze
The content of the Setup.py is:
We perform the following command to pack MyApp.py in MyApp.exe.
Workspace> python MyApp\Setup.py build
You cannot find Library.zip in the build directory because create_shared_zip is assigned to False.
-Count
No comments:
Post a Comment