From f69a93b1103130139cdec30511777823957fb659 Mon Sep 17 00:00:00 2001 From: Timo Furrer Date: Mon, 18 Dec 2017 18:59:34 +0100 Subject: [PATCH] Use codecs.open when relying on encoding. Fixes #112 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 95acbc2..18661aa 100755 --- a/setup.py +++ b/setup.py @@ -39,7 +39,7 @@ packages = [ # About dict to store version and package info about = dict() -with open(os.path.join(here, 'maya', '__version__.py'), 'r', encoding='utf-8') as f: +with codecs.open(os.path.join(here, 'maya', '__version__.py'), 'r', encoding='utf-8') as f: exec(f.read(), about) setup(