diff options
| author | Ned Deily <nad@acm.org> | 2012-07-30 04:09:32 -0700 |
|---|---|---|
| committer | Ned Deily <nad@acm.org> | 2012-07-30 04:09:32 -0700 |
| commit | 3b796680c3cbc1d43f3e1157cacc8e6b668f65f6 (patch) | |
| tree | 69d0eaabce5fd2bed0bddecb59a005ede32a7e29 /setup.py | |
| parent | c556c6440593c36cdfd407a6e192de86ac1b0df6 (diff) | |
| download | cpython-git-3b796680c3cbc1d43f3e1157cacc8e6b668f65f6.tar.gz | |
Issue #14018: Fix OS X Tcl/Tk framework checking when using OS X SDKs.
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -60,6 +60,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, |
