From cc56667c9d5324187202c799e2080cc6d25ed5e7 2013-12-09 17:59:59 From: Matthias Bussonnier Date: 2013-12-09 17:59:59 Subject: [PATCH] Merge pull request #4665 from minrk/readline-check check for libedit in readline on OS X --- diff --git a/setupext/setupext.py b/setupext/setupext.py index eaeba34..468c457 100644 --- a/setupext/setupext.py +++ b/setupext/setupext.py @@ -162,5 +162,8 @@ def check_for_readline(): print_status('readline', "no pyreadline-%s < 1.7.1" % vs) return False else: + if sys.platform == 'darwin' and 'libedit' in readline.__doc__: + print_status('readline', "no (libedit detected)") + return False print_status('readline', "yes") return True