Fixed encoding issues on windows

Attempting to install the package on windows throws `UnicodeDecodeError: 'charmap' codec can't decode byte 0x90 in position 1549: character maps to <undefined>`

This is an attempted fix
This commit is contained in:
Abiola 2018-07-17 21:38:38 +01:00 committed by GitHub
parent bd127f9cc0
commit 50af72edc0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ def get_long_description():
"""
Return the README.
"""
return open('README.md', 'r').read()
return open('README.md', 'r', encoding="utf8").read()
def get_packages(package):