From f654d5279ae7a41c9e17b7f66d00ae6b76e7b4be Mon Sep 17 00:00:00 2001 From: whzup <39431903+whzup@users.noreply.github.com> Date: Thu, 19 Jul 2018 06:29:36 +0200 Subject: [PATCH] Fix bug in setup.py Resolves #174 Fixed a bug in the setup.py file where it would throw an error because the encoding format was not right. This is done by adding the encoding parameter to the open() function. --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 1c8db6cc..0267c4a5 100644 --- a/setup.py +++ b/setup.py @@ -5,10 +5,10 @@ from setuptools import setup, find_packages -with open('README.md') as readme_file: +with open('README.md', encoding="utf8") as readme_file: readme = readme_file.read() -with open('HISTORY.rst') as history_file: +with open('HISTORY.rst', encoding="utf8") as history_file: history = history_file.read() requirements = [