Fix UnicodeDecodeError during installation (#86)

* fix UnicodeDecodeError during installation

* simplify opening with utf-8 encoding
pull/133/head
Elvis Yu-Jing Lin 6 years ago committed by Mike Fährmann
parent f3d770d4e2
commit aab2391c7b

@ -14,7 +14,7 @@ except ImportError:
def read(fname): def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read() return open(os.path.join(os.path.dirname(__file__), fname), encoding='utf-8').read()
# get version without importing the package # get version without importing the package

Loading…
Cancel
Save