Merge pull request #113 from timofurrer/bugfix/open-encoding

Use codecs.open when relying on encoding
This commit is contained in:
2017-12-18 17:28:20 -05:00
committed by GitHub
+1 -1
View File
@@ -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(