cpython/Lib/lib-tk/FixTk.py

5 lines
143 B
Python

import sys, os
v = os.path.join(sys.prefix, "tcl", "tcl8.3")
if os.path.exists(os.path.join(v, "init.tcl")):
os.environ["TCL_LIBRARY"] = v