Skip to content

Commit

Permalink
make version dynamic
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinyamauchi authored May 2, 2023
1 parent 0d3a8ec commit 98862ae
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ maintainers = [
urls.Documentation = "https://spatialdata.readthedocs.io/"
urls.Source = "https://github.com/scverse/spatialdata.git"
urls.Home-page = "https://github.com/scverse/spatialdata.git"
version = "0.0.1.dev1"
requires-python = ">=3.9"
dynamic= [
"version" # allow version to be set by git tags
]
license = {file = "LICENSE"}
readme = "README.md"
dependencies = [
Expand Down Expand Up @@ -115,6 +117,12 @@ formats = "ipynb,md"
[tool.hatch.build.targets.wheel]
packages = ['src/spatialdata']

[tool.hatch.version]
source = "vcs"

[tool.hatch.build.hooks.vcs]
version-file = "_version.py"

[tool.hatch.metadata]
allow-direct-references = true

Expand Down

0 comments on commit 98862ae

Please sign in to comment.