1
0
Fork 0
mirror of synced 2024-05-18 11:23:42 +12:00

ignore utf8 errors in setup.py on windows

This commit is contained in:
Nick Sweeting 2020-12-11 18:54:26 +02:00
parent 6022cbc5f4
commit 1960ec517c

View file

@ -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):