Fix UnicodeDecodeError during installation (#86)
* fix UnicodeDecodeError during installation * simplify opening with utf-8 encoding
This commit is contained in:
committed by
Mike Fährmann
parent
f3d770d4e2
commit
aab2391c7b
2
setup.py
2
setup.py
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user