##// END OF EJS Templates
Don't require win_unicode_console on Python 3.6...
Thomas Kluyver -
Show More
@@ -340,6 +340,11 b' class TerminalInteractiveShell(InteractiveShell):'
340 return document.text
340 return document.text
341
341
342 def enable_win_unicode_console(self):
342 def enable_win_unicode_console(self):
343 if sys.version_info >= (3, 6):
344 # Since PEP 528, Python uses the unicode APIs for the Windows
345 # console by default, so WUC shouldn't be needed.
346 return
347
343 import win_unicode_console
348 import win_unicode_console
344
349
345 if PY3:
350 if PY3:
@@ -218,7 +218,8 b' extras_require.update({'
218 ':python_version == "2.7" or python_version == "3.3"': ['pathlib2'],
218 ':python_version == "2.7" or python_version == "3.3"': ['pathlib2'],
219 ':sys_platform != "win32"': ['pexpect'],
219 ':sys_platform != "win32"': ['pexpect'],
220 ':sys_platform == "darwin"': ['appnope'],
220 ':sys_platform == "darwin"': ['appnope'],
221 ':sys_platform == "win32"': ['colorama', 'win_unicode_console>=0.5'],
221 ':sys_platform == "win32"': ['colorama'],
222 ':sys_platform == "win32" and python_version < "3.6"': ['win_unicode_console>=0.5'],
222 'test:python_version == "2.7"': ['mock'],
223 'test:python_version == "2.7"': ['mock'],
223 })
224 })
224 # FIXME: re-specify above platform dependencies for pip < 6
225 # FIXME: re-specify above platform dependencies for pip < 6
General Comments 0
You need to be logged in to leave comments. Login now