From 60d8bd6edcfe999b51713705c136e4d56294b22d Mon Sep 17 00:00:00 2001 From: Ilya Sytchev Date: Mon, 27 Feb 2023 15:37:09 -0500 Subject: [PATCH] Add explicit encoding to avoid error on Windows --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index c1ea26d8..ec9cbf95 100644 --- a/setup.py +++ b/setup.py @@ -19,10 +19,10 @@ package_data = {'forest.poplar.raw': ['noncode/*.csv', 'noncode/*.json']} -with open('README.md') as f: +with open('README.md', encoding='utf-8') as f: readme = f.read() -with open('LICENSE.md') as f: +with open('LICENSE.md', encoding='utf-8') as f: license = f.read() setup(