From df405d70b2c0318a8ddd8c1b7d8c1b4cf8170dc3 Mon Sep 17 00:00:00 2001 From: "Flamm, Matthew H" Date: Sun, 13 Sep 2020 13:23:15 +0100 Subject: [PATCH] use version file and bump to 0.0.8 --- setup.py | 5 ++++- version | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 version diff --git a/setup.py b/setup.py index 58716a1..d0ac0c9 100644 --- a/setup.py +++ b/setup.py @@ -11,10 +11,13 @@ if "txt" not in line and "#" not in line: requirements.append(line) +with open("version", "r") as f: + __version__ = f.read() + setup( author="Matthew Flamm", name="pytest-homeassistant-custom-component", - version="0.0.7", + version=__version__, packages=find_packages(), python_requires=">=3.7.1", install_requires=requirements, diff --git a/version b/version new file mode 100644 index 0000000..7d6b3eb --- /dev/null +++ b/version @@ -0,0 +1 @@ +0.0.8 \ No newline at end of file