Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
1962fb59f3604c81459af4600820a220c54d5e6a
/
.
/
Lib
/
lib-tk
/
FixTk.py
blob: 804c75f32d7f95bba219fb789556b03fadaddb7b [
file
] [
log
] [
blame
]
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