srcanamdw/codescanner/pyinstaller/support/useTK.py
changeset 1 22878952f6e2
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/srcanamdw/codescanner/pyinstaller/support/useTK.py	Thu Feb 18 12:29:02 2010 +0530
@@ -0,0 +1,13 @@
+# Generated by Configure.py
+# This file is public domain
+import os, sys
+try:
+    basedir = os.environ['_MEIPASS2']
+except KeyError:
+    basedir = sys.path[0]
+tcldir = os.path.join(basedir, '_MEI', 'tcl8.4')
+tkdir = os.path.join(basedir, '_MEI', 'tk8.4')
+os.environ["TCL_LIBRARY"] = tcldir
+os.environ["TK_LIBRARY"] = tkdir
+os.putenv("TCL_LIBRARY", tcldir)
+os.putenv("TK_LIBRARY", tkdir)