From b3a54a3e855236f5a36d6536093197db0dd5714d Mon Sep 17 00:00:00 2001 From: Abhishek Date: Fri, 1 Feb 2019 15:34:52 +0530 Subject: [PATCH] Explicitly specify the encoding while reading the readme file. --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 3819752..629885f 100644 --- a/setup.py +++ b/setup.py @@ -14,8 +14,8 @@ def has_gpu(): return False -with open("README.md", "r") as fh: - long_description = fh.read() +with open("README.md", "rb") as fh: + long_description = fh.read().decode("utf-8") install_requires = ["numpy"]