From f2c49e352e48aca9ec46b7d0f783e1b132d9bbc8 Mon Sep 17 00:00:00 2001 From: Alexey Simuskov Date: Thu, 31 Oct 2019 10:52:50 +0300 Subject: [PATCH] Platform independent encoding on setup.py --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 870b483..337fdf0 100644 --- a/setup.py +++ b/setup.py @@ -1,9 +1,9 @@ from setuptools import setup -with open("README.md") as f: +with open("README.md", encoding="utf8") as f: readme = f.read() -with open("aioitertools/__init__.py") as f: +with open("aioitertools/__init__.py", encoding="utf8") as f: for line in f: if line.startswith("__version__"): version = line.split('"')[1]