]> git.openstreetmap.org Git - nominatim.git/blobdiff - packaging/nominatim-api/pyproject.toml
switch to symlink approach for packages
[nominatim.git] / packaging / nominatim-api / pyproject.toml
index 0e3f36d9e95a2fb4c645b73058a9519606b71f71..7d270021c2914d28cdec84892cbc23611f96b89e 100644 (file)
@@ -30,15 +30,12 @@ requires = ["hatchling"]
 build-backend = "hatchling.build"
 
 [tool.hatch.version]
-path = "../../src/nominatim_api/version.py"
+path = "src/nominatim_api/version.py"
 pattern = "NOMINATIM_API_VERSION = '(?P<version>[^']+)'"
 
-[tool.hatch.build.targets.sdist.force-include]
-"../../src/nominatim_db" = "nominatim_api"
-
-[tool.hatch.build.targets.sdist.sources]
-"src/nominatim_core" = "nominatim_api"
+[tool.hatch.build.targets.sdist]
+include = ["src/nominatim_api"]
 
 [tool.hatch.build.targets.wheel]
-packages = ["nominatim_api"]
+packages = ["src/nominatim_api"]