X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/a93ec099321284739953c8c494cf12584e1250e3..1e88321371a3bca3c4fdda7a9ff4c54f72a951c5:/packaging/nominatim-db/pyproject.toml?ds=sidebyside diff --git a/packaging/nominatim-db/pyproject.toml b/packaging/nominatim-db/pyproject.toml index f7d0502b..3e4a9a4f 100644 --- a/packaging/nominatim-db/pyproject.toml +++ b/packaging/nominatim-db/pyproject.toml @@ -30,19 +30,14 @@ requires = ["hatchling"] build-backend = "hatchling.build" [tool.hatch.version] -path = "../../src/nominatim_db/version.py" +path = "src/nominatim_db/version.py" pattern = "NOMINATIM_VERSION = parse_version.'(?P[^-]+)" -[tool.hatch.build.targets.sdist.force-include] -"../../src/nominatim_db" = "nominatim_db" - -[tool.hatch.build.targets.sdist.sources] -"src/nominatim_core" = "nominatim_db" -"scripts" = "scripts" +[tool.hatch.build.targets.sdist] +include = ["src/nominatim_db", "scripts"] [tool.hatch.build.targets.wheel] -packages = ["nominatim_db"] +packages = ["src/nominatim_db"] [tool.hatch.build.targets.wheel.shared-scripts] "scripts" = "/" -