From 958220e4ebce6dbe2a059252ec6cd131143abd47 Mon Sep 17 00:00:00 2001 From: Xuan-Rui Fan Date: Fri, 8 Mar 2024 11:51:29 +0800 Subject: [PATCH] Update setup.py Specifying the encoding as UTF-8 when reading README.rst on Windows where the default encoding is often set to 'cp1252'. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 4b0cf2f..9c79a70 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ if os.path.exists('README.rst'): - long_description = open('README.rst').read() + long_description = open('README.rst', encoding='utf-8').read() else: long_description = '''CIRpy is a Python interface for the Chemical Identifier Resolver web service that is provided by the CADD Group at the NCI/NIH.'''