2024-06-06 19:08:56 +03:00
|
|
|
[project]
|
|
|
|
name = "nominatim-db"
|
|
|
|
description = "A tool for building a database of OpenStreetMap for geocoding and for searching the database. Database backend."
|
|
|
|
readme = "README.md"
|
|
|
|
requires-python = ">=3.7"
|
|
|
|
license = 'GPL-3.0-or-later'
|
|
|
|
maintainers = [
|
2024-07-01 13:07:52 +03:00
|
|
|
{ name = "Sarah Hoffmann", email = "lonvia@denofr.de" },
|
|
|
|
{ name = "Marc Tobias", email = "mtmail-cpan@gmx.net" }
|
2024-06-06 19:08:56 +03:00
|
|
|
]
|
|
|
|
keywords = [ "geocoding", "OpenStreetMap", "search" ]
|
|
|
|
classifiers = [
|
|
|
|
"Programming Language :: Python :: 3",
|
|
|
|
"License :: OSI Approved :: GNU General Public License (GPL)",
|
|
|
|
"Operating System :: OS Independent",
|
|
|
|
]
|
|
|
|
dependencies = [
|
2024-07-13 23:34:16 +03:00
|
|
|
"psycopg",
|
2024-06-27 22:26:12 +03:00
|
|
|
"python-dotenv",
|
|
|
|
"jinja2",
|
|
|
|
"pyYAML>=5.1",
|
|
|
|
"datrie",
|
2024-06-06 19:08:56 +03:00
|
|
|
"psutil",
|
|
|
|
"PyICU"
|
|
|
|
]
|
|
|
|
dynamic = ["version"]
|
|
|
|
|
|
|
|
[project.urls]
|
|
|
|
Homepage = "https://nominatim.org"
|
2024-06-27 22:26:12 +03:00
|
|
|
Documentation = "https://nominatim.org/release-docs/latest/"
|
2024-06-29 17:27:26 +03:00
|
|
|
Issues = "https://github.com/osm-search/Nominatim/issues"
|
|
|
|
Repository = "https://github.com/osm-search/Nominatim"
|
2024-06-06 19:08:56 +03:00
|
|
|
|
|
|
|
[build-system]
|
|
|
|
requires = ["hatchling"]
|
|
|
|
build-backend = "hatchling.build"
|
|
|
|
|
|
|
|
[tool.hatch.version]
|
2024-06-19 23:42:15 +03:00
|
|
|
path = "src/nominatim_db/version.py"
|
2024-06-11 21:21:19 +03:00
|
|
|
pattern = "NOMINATIM_VERSION = parse_version.'(?P<version>[^-]+)"
|
2024-06-06 19:08:56 +03:00
|
|
|
|
2024-06-19 23:42:15 +03:00
|
|
|
[tool.hatch.build.targets.sdist]
|
2024-06-27 22:26:12 +03:00
|
|
|
include = [
|
|
|
|
"src/nominatim_db",
|
|
|
|
"scripts",
|
|
|
|
"lib-sql/**/*.sql",
|
|
|
|
"settings",
|
|
|
|
"data/words.sql",
|
|
|
|
"extra_src/nominatim_db/paths.py"
|
|
|
|
]
|
|
|
|
|
|
|
|
artifacts = [
|
|
|
|
"data/country_osm_grid.sql.gz"
|
|
|
|
]
|
|
|
|
|
|
|
|
exclude = [
|
|
|
|
"src/nominatim_db/paths.py"
|
|
|
|
]
|
2024-06-06 19:08:56 +03:00
|
|
|
|
|
|
|
[tool.hatch.build.targets.wheel]
|
2024-06-19 23:42:15 +03:00
|
|
|
packages = ["src/nominatim_db"]
|
2024-06-06 19:08:56 +03:00
|
|
|
|
|
|
|
[tool.hatch.build.targets.wheel.shared-scripts]
|
|
|
|
"scripts" = "/"
|
2024-06-27 22:26:12 +03:00
|
|
|
|
|
|
|
[tool.hatch.build.targets.wheel.force-include]
|
|
|
|
"lib-sql" = "nominatim_db/resources/lib-sql"
|
|
|
|
"settings" = "nominatim_db/resources/settings"
|
|
|
|
"data/country_osm_grid.sql.gz" = "nominatim_db/resources/country_osm_grid.sql.gz"
|
|
|
|
"data/words.sql" = "nominatim_db/resources/words.sql"
|
|
|
|
"extra_src/nominatim_db/paths.py" = "nominatim_db/paths.py"
|