From b05806e5539cf08d4005d5b3abbfbaaddbf73f74 Mon Sep 17 00:00:00 2001 From: cgohlke Date: Wed, 26 Mar 2014 19:44:43 -0700 Subject: [PATCH] Remove PyReadline as a install requirement on Windows --- setup.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 7ef9289ff..fba2a8b9f 100755 --- a/setup.py +++ b/setup.py @@ -285,9 +285,7 @@ install_requires = [] if sys.platform == 'darwin': if any(arg.startswith('bdist') for arg in sys.argv) or not setupext.check_for_readline(): install_requires.append('gnureadline') -elif sys.platform.startswith('win'): - # Pyreadline has unicode and Python 3 fixes in 2.0 - install_requires.append('pyreadline>=2.0') + if 'setuptools' in sys.modules: # setup.py develop should check for submodules