From 70a07701294a1dc4c522cf4649b699bbb545280f Mon Sep 17 00:00:00 2001 From: AI Christianson Date: Tue, 10 Dec 2024 19:29:14 -0500 Subject: [PATCH] fix: add version configuration for hatch - Add tool.hatch.version configuration in pyproject.toml - Create __version__.py with initial version 0.1.0 --- pyproject.toml | 3 +++ ra_aid/__version__.py | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 ra_aid/__version__.py diff --git a/pyproject.toml b/pyproject.toml index 5c03c2e..41c1be2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -49,5 +49,8 @@ Issues = "https://github.com/ai-christianson/ra-aid/issues" [tool.setuptools.dynamic] version = {attr = "ra_aid.version.__version__"} +[tool.hatch.version] +path = "ra_aid/__version__.py" + [tool.hatch.build.targets.wheel] packages = ["ra_aid"] diff --git a/ra_aid/__version__.py b/ra_aid/__version__.py new file mode 100644 index 0000000..e58a6ce --- /dev/null +++ b/ra_aid/__version__.py @@ -0,0 +1,3 @@ +"""Version information.""" + +__version__ = "0.1.0"