##// END OF EJS Templates
Backport PR #12510: Required Pexpect >=4.3
Matthias Bussonnier -
Show More
@@ -200,19 +200,21 b' install_requires = ['
200 200 # This is the correct way to specify these,
201 201 # but requires pip >= 6. pip < 6 ignores these.
202 202
203 extras_require.update({
204 ':sys_platform != "win32"': ['pexpect'],
205 ':sys_platform == "darwin"': ['appnope'],
206 ':sys_platform == "win32"': ['colorama'],
207 })
203 extras_require.update(
204 {
205 ':sys_platform != "win32"': ["pexpect>4.3"],
206 ':sys_platform == "darwin"': ["appnope"],
207 ':sys_platform == "win32"': ["colorama"],
208 }
209 )
208 210 # FIXME: re-specify above platform dependencies for pip < 6
209 211 # These would result in non-portable bdists.
210 212 if not any(arg.startswith('bdist') for arg in sys.argv):
211 213 if sys.platform == 'darwin':
212 214 install_requires.extend(['appnope'])
213 215
214 if not sys.platform.startswith('win'):
215 install_requires.append('pexpect')
216 if not sys.platform.startswith("win"):
217 install_requires.append("pexpect>4.3")
216 218
217 219 # workaround pypa/setuptools#147, where setuptools misspells
218 220 # platform_python_implementation as python_implementation
General Comments 0
You need to be logged in to leave comments. Login now