From 6a143e1aad1a848c17af0b36e5a35480eccbe805 2014-04-09 20:45:01 From: cgohlke Date: 2014-04-09 20:45:01 Subject: [PATCH] Remove PyReadline as a install requirement on Windows --- diff --git a/setup.py b/setup.py index 7ef9289..fba2a8b 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