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