3 description = "A tool for building a database of OpenStreetMap for geocoding and for searching the database."
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",
30 Homepage = "https://nominatim.org"
31 Issues = "https://github.com/osm-search/Nominatim/issues"
34 requires = ["hatchling"]
35 build-backend = "hatchling.build"
39 path = "nominatim/version.py"
40 expression = "NOMINATIM_VERSION.release_version()"
42 [tool.hatch.build.targets.sdist]
43 only-include = ["nominatim", "lib-sql", "settings",
44 "docs", "man", "data", "munin",
45 "test/python", "test/bdd", "test/testdata", "test/testdb"]
46 artifacts = ["data/country_osm_grid.sql.gz"]
48 [tool.hatch.build.targets.wheel]
49 only-include = ["nominatim", "lib-sql", "settings",
50 "data/words.sql", "data/country_osm_grid.sql.gz",
51 "wheel_build/nominatim"]
52 exclude = ["nominatim/paths.py"]
54 [tool.hatch.build.targets.wheel.shared-scripts]
55 "wheel_build/shared/scripts" = "/"
57 [tool.hatch.build.targets.wheel.sources]
58 "wheel_build/nominatim" = "nominatim"
59 "lib-sql" = "nominatim/resources/lib-sql"
60 "settings" = "nominatim/resources/settings"
61 "data" = "nominatim/resources"