I made a python script and now I want to make it's executable with cx_freeze. It's first time for me.
My code:
from cx_Freeze import setup, Executable
build_exe_options = {'packages': ['pandas','os']}
setup(
name = "monprog",
version = "0.1",
options = {"build_exe": build_exe_options},
description = "Convert_program",
executables = [Executable("test.py")],
)
It works but my files are too big (2GB). A lot of library files are imported (150 - 200 library) into the executable helpers.
My program is very simple, there are 2 imports (pandas and os) and 50 lines of code. Maybe an error with "options" argument ?
How to reduce the program size?
Thank `
PS: I use anaconda platform