From c5ed8a8531f277be3d6c9bc66f3869ce1362db0b Mon Sep 17 00:00:00 2001 From: Simon Birkholz Date: Thu, 19 Dec 2024 17:00:11 +0100 Subject: [PATCH] add explicit utf-8 encoding for setup.py to allow for install from source on windows --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index b5bf7e1..e719350 100644 --- a/setup.py +++ b/setup.py @@ -50,8 +50,8 @@ about = {} exec((here / package_name / '__version__.py').read_text(), about) -readme = (here / 'README.rst').read_text() -history = (here / 'HISTORY.rst').read_text() +readme = (here / 'README.rst').read_text(encoding='utf-8') +history = (here / 'HISTORY.rst').read_text(encoding='utf-8') setup( name=about['__title__'],