import cx_Freeze
import sys
import os
base=None

if sys.platform=='win32':
    base='Win32GUI'

os.environ['TCL_LIBRRY']=r"C:\Users\cg\AppData\Local\Programs\Python\Python37-32\tcl\tcl8.6"
os.environ['TK_LIBRRY']=r"C:\Users\cg\AppData\Local\Programs\Python\Python37-32\tcl\tk8.6"

executables=[cx_Freeze.Executable("vpad.py",base=base,icon='icon.ico')]

cx_Freeze.setup(
    name="Vpad Text Editor",
    options={"build_exe":{"packages":["tkinter","os"],"include_files":["icon.ico",'tcl86t.dll','tk86t.dll','icons2']}},
    version='0.01',
    description="Tkinter Application",
    executables=executables
)
