Commit d35104ed authored by Yu Kobayashi's avatar Yu Kobayashi

sys.stdout.encoding instead of latin-1 in setup.py

Please use sys.stdout.encoding instead of latin-1 in setup.py.
This is necessary for non English OS.
parent 6bd5c2e3
...@@ -265,7 +265,7 @@ def enqueue_output(out, queue): ...@@ -265,7 +265,7 @@ def enqueue_output(out, queue):
def _log_buf(buf): def _log_buf(buf):
if not buf: if not buf:
return return
buf = buf.decode("latin-1") buf = buf.decode(sys.stdout.encoding)
buf = buf.rstrip() buf = buf.rstrip()
lines = buf.splitlines() lines = buf.splitlines()
for line in lines: for line in lines:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment