From 4ca5f38f463301cd17284c3ed45add88b3ccc24b Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Tue, 4 Sep 2001 09:05:11 +0000 Subject: Disabled _curses modules on MacOSX. The curses version is a 1994 BSD curses, far too old for _cursesmodule.c. --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 88a70d3..61e75de 100644 --- a/setup.py +++ b/setup.py @@ -451,7 +451,8 @@ class PyBuildExt(build_ext): curses_libs = ['ncurses'] exts.append( Extension('_curses', ['_cursesmodule.c'], libraries = curses_libs) ) - elif (self.compiler.find_library_file(lib_dirs, 'curses')): + elif (self.compiler.find_library_file(lib_dirs, 'curses')) and platform != 'darwin1': + # OSX has an old Berkeley curses, not good enough for the _curses module. if (self.compiler.find_library_file(lib_dirs, 'terminfo')): curses_libs = ['curses', 'terminfo'] else: -- cgit v0.12