From b48ae56d0b0e94b11a58710fabc9d42b7519d363 Mon Sep 17 00:00:00 2001 From: Estrella Pan <33726646+EstrellaXD@users.noreply.github.com> Date: Sat, 24 Feb 2024 17:00:47 +0800 Subject: [PATCH 1/2] fix pip encoding error in non-English windows. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 3d4e4a9..5cc6eb0 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ import setuptools -with open("README.md", "r") as fh: +with open("README.md", "r", encoding="UTF-8") as fh: long_description = fh.read() setuptools.setup( From c1cf9c273ef51ab002f970ada13a238bbb65710b Mon Sep 17 00:00:00 2001 From: Estrella Pan <33726646+EstrellaXD@users.noreply.github.com> Date: Sat, 24 Feb 2024 17:10:10 +0800 Subject: [PATCH 2/2] lower the text --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 5cc6eb0..48a2c9b 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ import setuptools -with open("README.md", "r", encoding="UTF-8") as fh: +with open("README.md", "r", encoding="utf-8") as fh: long_description = fh.read() setuptools.setup(