File tree Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change 1
1
[build-system ]
2
2
build-backend = " hatchling.build"
3
- requires = [" hatchling" ]
3
+ requires = [" hatchling" , " hatch-vcs " ]
4
4
5
5
6
6
[project ]
@@ -15,7 +15,9 @@ maintainers = [
15
15
urls.Documentation = " https://spatialdata.scverse.org/projects/plot/en/latest/"
16
16
urls.Source = " https://github.com/scverse/spatialdata-plot.git"
17
17
urls.Home-page = " https://github.com/scverse/spatialdata-plot.git"
18
- version = " 0.0.1.dev1"
18
+ dynamic = [
19
+ " version" # allow version to be set by git tags
20
+ ]
19
21
requires-python = " >=3.9"
20
22
license = {file = " LICENSE" }
21
23
readme = " README.md"
@@ -101,6 +103,15 @@ formats = "ipynb,md"
101
103
[tool .hatch .metadata ]
102
104
allow-direct-references = true
103
105
106
+ [tool .hatch .build .targets .wheel ]
107
+ packages = [' src/spatialdata_plot' ]
108
+
109
+ [tool .hatch .version ]
110
+ source = " vcs"
111
+
112
+ [tool .hatch .build .hooks .vcs ]
113
+ version-file = " _version.py"
114
+
104
115
[tool .ruff ]
105
116
exclude = [
106
117
" .git" ,
@@ -162,4 +173,4 @@ target-version = "py39"
162
173
convention = " numpy"
163
174
[tool .ruff .pyupgrade ]
164
175
# Preserve types, even if a file imports `from __future__ import annotations`.
165
- keep-runtime-typing = true
176
+ keep-runtime-typing = true
You can’t perform that action at this time.
0 commit comments