Merge pull request #114 from rafaelrdealmeida/patch-1
Update setup.py See also <https://github.com/akamhy/waybackpy/issues/111#issuecomment-1020673814>
This commit is contained in:
commit
552967487e
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")) 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