From 8a4d77d8a2e59de510d5bbdf0409e9c33d599f36 Mon Sep 17 00:00:00 2001 From: David van Rijn Date: Sun, 28 Feb 2021 12:38:43 +0100 Subject: [PATCH] Fixed encoding issue in setup.py --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index bb0e236..78beee0 100644 --- a/setup.py +++ b/setup.py @@ -11,7 +11,7 @@ PACKAGE = 'feedservice' SCRIPT_FILE = os.path.join(PACKAGE, '__init__.py') -main_py = open(SCRIPT_FILE).read() +main_py = open(SCRIPT_FILE, encoding='utf-8').read() metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", main_py)) docstrings = re.findall('"""(.*?)"""', main_py, re.DOTALL)