fix: add version configuration for hatch

- Add tool.hatch.version configuration in pyproject.toml
- Create __version__.py with initial version 0.1.0
This commit is contained in:
AI Christianson 2024-12-10 19:29:14 -05:00
parent 7569b73e5a
commit 70a0770129
2 changed files with 6 additions and 0 deletions

View File

@ -49,5 +49,8 @@ Issues = "https://github.com/ai-christianson/ra-aid/issues"
[tool.setuptools.dynamic] [tool.setuptools.dynamic]
version = {attr = "ra_aid.version.__version__"} version = {attr = "ra_aid.version.__version__"}
[tool.hatch.version]
path = "ra_aid/__version__.py"
[tool.hatch.build.targets.wheel] [tool.hatch.build.targets.wheel]
packages = ["ra_aid"] packages = ["ra_aid"]

3
ra_aid/__version__.py Normal file
View File

@ -0,0 +1,3 @@
"""Version information."""
__version__ = "0.1.0"