Mercurial > cpython-lru_cache-weakref
diff setup.py @ 47376:aea3c5543d43
add the gestalt module back as _gestalt
| author | Benjamin Peterson <benjamin@python.org> |
|---|---|
| date | Thu, 29 May 2008 21:09:51 +0000 |
| parents | afbde360dd1a |
| children | 3255f1f160ad |
line wrap: on
line diff
--- a/setup.py Thu May 29 19:54:39 2008 +0000 +++ b/setup.py Thu May 29 21:09:51 2008 +0000 @@ -1118,6 +1118,14 @@ else: missing.append('ossaudiodev') + if sys.platform == 'darwin': + exts.append( + Extension('_gestalt', ['_gestalt.c'], + extra_link_args=['-framework', 'Carbon']) + ) + else: + missing.append('_gestalt') + self.extensions.extend(exts) # Call the method for detecting whether _tkinter can be compiled
