Mercurial > cpython-lru_cache-weakref
diff setup.py @ 78331:eb0af7f6ea6d 3.2
Issue #14018: Fix OS X Tcl/Tk framework checking when using OS X SDKs.
| author | Ned Deily <nad@acm.org> |
|---|---|
| date | Mon, 30 Jul 2012 04:09:32 -0700 |
| parents | e2be1f43beed |
| children | ee0ac9a0461f 1462e1652f5d |
line wrap: on
line diff
--- a/setup.py Mon Jul 30 03:31:21 2012 -0700 +++ b/setup.py Mon Jul 30 04:09:32 2012 -0700 @@ -60,6 +60,9 @@ 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,
