Work the Tcl version number in the path we search for.
This commit is contained in:
parent
4f3cc35cc1
commit
aaa8bb4211
|
@ -1,4 +1,5 @@
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue