Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
9a3fd8c8
Commit
9a3fd8c8
authored
Feb 06, 2001
by
Andrew M. Kuchling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Patch #103578 ] _tkinter build fix for he current Debian unstable tcl/tk 8.3
packages
parent
69e7f11a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
+4
-8
setup.py
setup.py
+4
-8
No files found.
setup.py
View file @
9a3fd8c8
...
...
@@ -495,14 +495,10 @@ class PyBuildExt(build_ext):
if
tklib
and
tcllib
:
# Check for the include files on Debian, where
# they're put in /usr/include/{tcl,tk}X.Y
debian_tcl_include
=
(
'/usr/include/tcl'
+
version
)
debian_tk_include
=
(
'/usr/include/tk'
+
version
)
tcl_includes
=
find_file
(
'tcl.h'
,
inc_dirs
,
[
debian_tcl_include
]
)
tk_includes
=
find_file
(
'tk.h'
,
inc_dirs
,
[
debian_tk_include
]
)
debian_tcl_include
=
[
'/usr/include/tcl'
+
version
]
debian_tk_include
=
[
'/usr/include/tk'
+
version
]
+
debian_tcl_include
tcl_includes
=
find_file
(
'tcl.h'
,
inc_dirs
,
debian_tcl_include
)
tk_includes
=
find_file
(
'tk.h'
,
inc_dirs
,
debian_tk_include
)
if
(
tcllib
is
None
or
tklib
is
None
and
tcl_includes
is
None
or
tk_includes
is
None
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment