Update setup.py
pep8
This commit is contained in:
parent
759874cdc6
commit
86a90a3840
9
setup.py
9
setup.py
@ -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__"])
|
||||
|
Loading…
Reference in New Issue
Block a user