X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/5d302a03a6ed9250b7a280a9bdd0c7e7a9bb2222..1e88321371a3bca3c4fdda7a9ff4c54f72a951c5:/packaging/nominatim-api/pyproject.toml?ds=sidebyside diff --git a/packaging/nominatim-api/pyproject.toml b/packaging/nominatim-api/pyproject.toml index 0e3f36d9..7d270021 100644 --- a/packaging/nominatim-api/pyproject.toml +++ b/packaging/nominatim-api/pyproject.toml @@ -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[^']+)'" -[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"]