Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Kirill Smelkov
cpython
Commits
d8ec464d
Commit
d8ec464d
authored
12 years ago
by
Ned Deily
Browse files
Options
Download
Email Patches
Plain Diff
Issue #14018: Fix OS X Tcl/Tk framework checking when using OS X SDKs.
parent
38df5142
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
Misc/NEWS
Misc/NEWS
+2
-0
setup.py
setup.py
+3
-0
No files found.
Misc/NEWS
View file @
d8ec464d
...
...
@@ -309,6 +309,8 @@ Tests
Build
-----
-
Issue
#
14018
:
Fix
OS
X
Tcl
/
Tk
framework
checking
when
using
OS
X
SDKs
.
-
Issue
#
8767
:
Restore
building
with
--
disable
-
unicode
.
Patch
by
Stefano
Taschini
.
...
...
This diff is collapsed.
Click to expand it.
setup.py
View file @
d8ec464d
...
...
@@ -48,6 +48,9 @@ def is_macosx_sdk_path(path):
Returns True if 'path' can be located in an OSX SDK
"""
return
(
path
.
startswith
(
'/usr/'
)
and
not
path
.
startswith
(
'/usr/local'
))
or
path
.
startswith
(
'/System/'
)
return
(
(
path
.
startswith
(
'/usr/'
)
and
not
path
.
startswith
(
'/usr/local'
))
or
path
.
startswith
(
'/System/'
)
or
path
.
startswith
(
'/Library/'
)
)
def
find_file
(
filename
,
std_dirs
,
paths
):
"""Searches for the directory where a given file is located,
...
...
This diff is collapsed.
Click to expand it.
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