So these are the steps:
# Install "cx_Freeze"
# Create setup.py
$catsetup.py
from cx_Freeze import setup, Executable build_exe_options = { "includes": ['numpy', 'pandas','matplotlib.backends.backend_qt4agg'], "packages": [], "excludes": ['tk','ttk','zmq','boto','tkinter','_gtkagg', '_tkagg', 'bsddb', 'curses', 'pywin.debugger','pywin.debugger.dbgcon', 'pywin.dialogs', 'tcl', 'Tkconstants', 'Tkinter'], "include_files": []} setup( name = "appName", version = "0.1", description = "", author = "Dengar", options = {"build_exe": build_exe_options}, executables = [Executable("sectorize.py")] )#python setup.py build
No comments:
Post a Comment