Update setup.py

pep8
This commit is contained in:
Rafael de Almeida 2022-01-24 22:03:28 -03:00 committed by GitHub
parent 759874cdc6
commit 86a90a3840
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,11 +1,16 @@
import os.path
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), "README.md"), encoding="utf-8") 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"), encoding="utf-8") 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__"])