build-backend = "hatchling.build"
[tool.hatch.version]
-source = "code"
path = "../../src/nominatim_core/version.py"
-expression = "NOMINATIM_CORE_VERSION"
+pattern = "NOMINATIM_CORE_VERSION = '(?P<version>[^']+)'"
[tool.hatch.build.targets.sdist.force-include]
"../../src/nominatim_core" = "nominatim_core"