From 63b0715796777c52d3fafd6d9aa6821d1d92f58c Mon Sep 17 00:00:00 2001 From: Pierre Sassoulas Date: Sat, 22 Sep 2018 09:53:29 +0200 Subject: [PATCH] Fix - Python2.7 specific fix for setup.py open() can't take an encoding parameter in 2.7 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 389e9bac..b5ec8ac4 100644 --- a/setup.py +++ b/setup.py @@ -20,7 +20,7 @@ def add_package(package_list, package): this_directory = path.abspath(path.dirname(__file__)) -with open(path.join(this_directory, 'readme.md'), encoding='utf-8') as f: +with open(path.join(this_directory, 'readme.md')) as f: long_description = f.read() with open("requirements.txt", "r") as fh: