chore: switch to using module-define version number

https://stackoverflow.com/a/16084844/1342874
This commit is contained in:
Benjamin Kirkbride
2020-08-20 18:29:36 -04:00
parent 2bcb1caeea
commit 2cfe2e9a46
3 changed files with 6 additions and 2 deletions

View File

@@ -1,4 +1,6 @@
# pylint: disable-all
# type: ignore
from setuptools import setup
setup()
exec(open("yourpackage/version.py").read())
setup(version=__version__)