From 50af72edc04938c653c584630cbb8767f753b850 Mon Sep 17 00:00:00 2001 From: Abiola Date: Tue, 17 Jul 2018 21:38:38 +0100 Subject: [PATCH] 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 ` This is an attempted fix --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 646c7613..b6a2205b 100644 --- a/setup.py +++ b/setup.py @@ -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):