summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2018-08-11 02:54:27 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2018-08-11 04:20:53 +0200
commit6aea8d06b637ea55a2fa7d2949863adae5310ce2 (patch)
treefa38b7c911333400ab9d8cb8f2615faac3ca8964 /setup.py
parentd0732cff9cef507d79d5c53fbcc648dd6f560ce5 (diff)
Don't pass encoding= to Popen()
Popen()'s 'encoding' parameter is Python 3.6+ only. Unfortunately, Popen()'s universal_newlines=True without 'encoding' will use the encoding from the environment. Do a manual version instead, so that we can still use the user-specified encoding (usually UTF-8). That might prevent problems on systems that are (poorly) configured to use the C locale.
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions