##// END OF EJS Templates
Integrate windows unicode console
klonuo -
Show More
@@ -368,7 +368,10 b' class TerminalInteractiveShell(InteractiveShell):'
368 if sys.platform not in {'win32', 'cli'}:
368 if sys.platform not in {'win32', 'cli'}:
369 return
369 return
370
370
371 import win_unicode_console
371 import colorama
372 import colorama
373
374 win_unicode_console.enable()
372 colorama.init()
375 colorama.init()
373
376
374 # For some reason we make these wrappers around stdout/stderr.
377 # For some reason we make these wrappers around stdout/stderr.
@@ -209,7 +209,7 b' extras_require.update({'
209 ':python_version == "2.7" or python_version == "3.3"': ['pathlib2'],
209 ':python_version == "2.7" or python_version == "3.3"': ['pathlib2'],
210 ':sys_platform != "win32"': ['pexpect'],
210 ':sys_platform != "win32"': ['pexpect'],
211 ':sys_platform == "darwin"': ['appnope'],
211 ':sys_platform == "darwin"': ['appnope'],
212 ':sys_platform == "win32"': ['colorama'],
212 ':sys_platform == "win32"': ['colorama', 'win_unicode_console'],
213 'test:python_version == "2.7"': ['mock'],
213 'test:python_version == "2.7"': ['mock'],
214 })
214 })
215 # FIXME: re-specify above platform dependencies for pip < 6
215 # FIXME: re-specify above platform dependencies for pip < 6
General Comments 0
You need to be logged in to leave comments. Login now