From 956579b60be716b93ea97399558f6be5ad1c5881 Mon Sep 17 00:00:00 2001 From: Brunno Vanelli Date: Sat, 6 Jul 2024 18:21:11 +0200 Subject: [PATCH] chore: Add version files to repo. --- actual/version.py | 2 ++ setup.py | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 actual/version.py diff --git a/actual/version.py b/actual/version.py new file mode 100644 index 0000000..bfb2247 --- /dev/null +++ b/actual/version.py @@ -0,0 +1,2 @@ +__version_info__ = ("0", "1", "0") +__version__ = ".".join(__version_info__) diff --git a/setup.py b/setup.py index aa424fb..4c858c9 100644 --- a/setup.py +++ b/setup.py @@ -1,8 +1,10 @@ from setuptools import find_packages, setup +__version__ = "" # avoid linting issues on the file, but the line below will fill in the version +exec(open("actual/version.py").read()) setup( name="actual", - version="0.0.1", + version=__version__, packages=find_packages(), description="Implementation of the Actual API to interact with Actual over Python.", long_description=open("README.md").read(),