From 1960ec517cef211f02de5f6f5281d5189d868fe5 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Fri, 11 Dec 2020 18:54:26 +0200 Subject: [PATCH] ignore utf8 errors in setup.py on windows --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index d01b3f65..4eb7c97d 100755 --- a/setup.py +++ b/setup.py @@ -23,7 +23,7 @@ PROJECT_URLS = { ROOT_DIR = Path(__file__).parent.resolve() PACKAGE_DIR = ROOT_DIR / PKG_NAME -README = (PACKAGE_DIR / "README.md").read_text() +README = (PACKAGE_DIR / "README.md").read_text(encoding='utf-8', errors='ignore') VERSION = json.loads((PACKAGE_DIR / "package.json").read_text().strip())['version'] # To see when setup.py gets called (uncomment for debugging):