Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython2
/
bea3947fb8426bf3af423fdc7b9e2f4006b2d796
/
.
/
Lib
/
lib-tk
/
FixTk.py
blob: c0af29b542a4ffd25cede48ee78b326e631f8d5b [
file
] [
log
] [
blame
]
import
sys
,
os
,
_tkinter
ver
=
str
(
_tkinter
.
TCL_VERSION
)
for
t
in
"tcl"
,
"tk"
:
v
=
os
.
path
.
join
(
sys
.
prefix
,
"tcl"
,
t
+
ver
)
if
os
.
path
.
exists
(
os
.
path
.
join
(
v
,
"tclIndex"
)):
os
.
environ
[
t
.
upper
()
+
"_LIBRARY"
]
=
v