srcanamdw/codescanner/pyinstaller/support/useTK.py
changeset 1 22878952f6e2
equal deleted inserted replaced
0:509e4801c378 1:22878952f6e2
       
     1 # Generated by Configure.py
       
     2 # This file is public domain
       
     3 import os, sys
       
     4 try:
       
     5     basedir = os.environ['_MEIPASS2']
       
     6 except KeyError:
       
     7     basedir = sys.path[0]
       
     8 tcldir = os.path.join(basedir, '_MEI', 'tcl8.4')
       
     9 tkdir = os.path.join(basedir, '_MEI', 'tk8.4')
       
    10 os.environ["TCL_LIBRARY"] = tcldir
       
    11 os.environ["TK_LIBRARY"] = tkdir
       
    12 os.putenv("TCL_LIBRARY", tcldir)
       
    13 os.putenv("TK_LIBRARY", tkdir)