Commit f62980f9 authored by Guido van Rossum's avatar Guido van Rossum

Work the Tcl version number in the path we search for.

parent ca1ee38b
import sys, os
v = os.path.join(sys.prefix, "tcl", "tcl8.3")
import sys, os, _tkinter
ver = str(_tkinter.TCL_VERSION)
v = os.path.join(sys.prefix, "tcl", "tcl"+ver)
if os.path.exists(os.path.join(v, "init.tcl")):
os.environ["TCL_LIBRARY"] = v
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment