We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d3a8ec commit 98862aeCopy full SHA for 98862ae
1 file changed
pyproject.toml
@@ -15,8 +15,10 @@ maintainers = [
15
urls.Documentation = "https://spatialdata.readthedocs.io/"
16
urls.Source = "https://github.com/scverse/spatialdata.git"
17
urls.Home-page = "https://github.com/scverse/spatialdata.git"
18
-version = "0.0.1.dev1"
19
requires-python = ">=3.9"
+dynamic= [
20
+ "version" # allow version to be set by git tags
21
+]
22
license = {file = "LICENSE"}
23
readme = "README.md"
24
dependencies = [
@@ -115,6 +117,12 @@ formats = "ipynb,md"
115
117
[tool.hatch.build.targets.wheel]
116
118
packages = ['src/spatialdata']
119
120
+[tool.hatch.version]
121
+source = "vcs"
122
+
123
+[tool.hatch.build.hooks.vcs]
124
+version-file = "_version.py"
125
126
[tool.hatch.metadata]
127
allow-direct-references = true
128
0 commit comments