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

@@ -0,0 +1,3 @@
"""pytiled_parser version"""
__version__ = "1.0.0"

View File

@@ -1,7 +1,6 @@
[metadata]
name = pytiled_parser
description = PongWall Server Prototype
version = 0.9.1
author = Benjamin Kirkbride
author-email = BenjaminKirkbride@gmail.com
license = MIT

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__)