From 45cccdfef56bf9bd0df7f89e0c91e89257eb4afd Mon Sep 17 00:00:00 2001 From: svalouch Date: Mon, 2 Nov 2020 14:31:35 +0100 Subject: [PATCH] setup: explicitly specify text mode when reading long_description --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 4670b11..ef424fd 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- from setuptools import setup # type: ignore -with open('README.rst', 'r') as fh: +with open('README.rst', 'rt') as fh: long_description = fh.read() setup(