From 74b1c7d61ea0fc7ef01619670778bfba3daa4514 Mon Sep 17 00:00:00 2001 From: Nathan Rice Date: Fri, 20 Jan 2012 13:21:36 -0500 Subject: [PATCH] pyreadline dependency pushed to 1.7.1 for all versions of windows. Also, solves an issue that has been observed when IPython is used with some older versions of pyreadline. --- setup.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index f405da5a6..06f10c293 100755 --- a/setup.py +++ b/setup.py @@ -238,10 +238,11 @@ if 'setuptools' in sys.modules: if not setupext.check_for_readline(): if sys.platform == 'darwin': requires.append('readline') - elif sys.platform.startswith('win') and sys.maxsize < 2**32: - # only require pyreadline on 32b Windows, due to 64b bug in pyreadline: - # https://bugs.launchpad.net/pyreadline/+bug/787574 - requires.append('pyreadline') + elif sys.platform.startswith('win'): + # Pyreadline 64 bit windows issue solved in versions >=1.7.1 + # Also solves issues with some older versions of pyreadline that + # satisfy the unconstrained depdendency. + requires.append('pyreadline>=1.7.1') else: pass # do we want to install readline here?