3 description = "A tool for building a database of OpenStreetMap for geocoding and for searching the database. Database backend."
5 requires-python = ">=3.7"
6 license = 'GPL-3.0-or-later'
8 { name = "Sarah Hoffmann", email = "lonvia@denofr.de" }
10 keywords = [ "geocoding", "OpenStreetMap", "search" ]
12 "Programming Language :: Python :: 3",
13 "License :: OSI Approved :: GNU General Public License (GPL)",
14 "Operating System :: OS Independent",
28 Homepage = "https://nominatim.org"
29 Issues = "https://github.com/osm-search/Nominatim/issues"
30 Documentation = "https://nominatim.org/release-docs/latest/"
33 requires = ["hatchling"]
34 build-backend = "hatchling.build"
37 path = "src/nominatim_db/version.py"
38 pattern = "NOMINATIM_VERSION = parse_version.'(?P<version>[^-]+)"
40 [tool.hatch.build.targets.sdist]
47 "extra_src/nominatim_db/paths.py"
51 "data/country_osm_grid.sql.gz"
55 "src/nominatim_db/paths.py"
58 [tool.hatch.build.targets.wheel]
59 packages = ["src/nominatim_db"]
61 [tool.hatch.build.targets.wheel.shared-scripts]
64 [tool.hatch.build.targets.wheel.force-include]
65 "lib-sql" = "nominatim_db/resources/lib-sql"
66 "settings" = "nominatim_db/resources/settings"
67 "data/country_osm_grid.sql.gz" = "nominatim_db/resources/country_osm_grid.sql.gz"
68 "data/words.sql" = "nominatim_db/resources/words.sql"
69 "extra_src/nominatim_db/paths.py" = "nominatim_db/paths.py"