commit | ebacd26869220b2f300d1b88c59ec3efc60ac00d | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Thu May 29 21:09:51 2008 +0000 |
committer | Benjamin Peterson <benjamin@python.org> | Thu May 29 21:09:51 2008 +0000 |
tree | 9a1f9a3850fb50f9971fceb633d254e0c8230d1e | |
parent | 7dca3ebc97661da9fe2945b9c65d58c234d10629 [diff] [blame] |
add the gestalt module back as _gestalt
diff --git a/setup.py b/setup.py index 639b42f..4921ded 100644 --- a/setup.py +++ b/setup.py
@@ -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