Kaydet (Commit) 8d233f2c authored tarafından Éric Araujo's avatar Éric Araujo

Also specify encoding when reading setup.cfg (#12320)

üst 043f5ae6
......@@ -1044,7 +1044,7 @@ def cfg_to_args(path='setup.cfg'):
if not os.path.exists(path):
raise PackagingFileError("file '%s' does not exist" %
os.path.abspath(path))
config.read(path)
config.read(path, encoding='utf-8')
kwargs = {}
for arg in D1_D2_SETUP_ARGS:
......
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