From 1e16e19e58f9390062f2333a300c479c5079a31e Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Fri, 16 Feb 2024 23:24:53 +0100 Subject: [PATCH] version --- __init__.py | 2 ++ pyproject.toml | 8 +++++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/__init__.py b/__init__.py index 78a7873..79d08ad 100644 --- a/__init__.py +++ b/__init__.py @@ -1,3 +1,5 @@ +__version__ = '0.0.0' + import rwx.log log = rwx.log.get_logger(__name__) diff --git a/pyproject.toml b/pyproject.toml index ff8cb7a..b7fc36e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,15 +18,17 @@ dependencies = [ 'rwx', ] description = 'Operating File System Profile' -dynamic = [] +dynamic = ['version'] keywords = [] license = { file = 'license.md' } name = 'ofsp' readme = 'readme.md' requires-python = '>=3.10' -version = '0.0.0' [project.scripts] -# command = 'module:function' +# command = 'package.module:function' [project.urls] + +[tool.hatch.version] +path = '__init__.py'