From 759874cdc61122be61a18502cc6deda7973a68f3 Mon Sep 17 00:00:00 2001 From: Rafael de Almeida Date: Mon, 24 Jan 2022 21:23:31 -0300 Subject: [PATCH] Update setup.py see: https://github.com/akamhy/waybackpy/issues/111#issuecomment-1020673814 --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index e77bfc2..2fd9b11 100644 --- a/setup.py +++ b/setup.py @@ -1,11 +1,11 @@ import os.path from setuptools import setup -with open(os.path.join(os.path.dirname(__file__), "README.md")) as f: +with open(os.path.join(os.path.dirname(__file__), "README.md"), encoding="utf-8") as f: long_description = f.read() about = {} -with open(os.path.join(os.path.dirname(__file__), "waybackpy", "__version__.py")) as f: +with open(os.path.join(os.path.dirname(__file__), "waybackpy", "__version__.py"), encoding="utf-8") as f: exec(f.read(), about) version = str(about["__version__"])