Update setup.py
see: https://github.com/akamhy/waybackpy/issues/111#issuecomment-1020673814
This commit is contained in:
parent
06095202fe
commit
759874cdc6
4
setup.py
4
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__"])
|
||||
|
Loading…
Reference in New Issue
Block a user