mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-03-07 10:34:08 +00:00
add packaging for the different subprojects
This commit is contained in:
21
packaging/nominatim-api/README.md
Normal file
21
packaging/nominatim-api/README.md
Normal file
@@ -0,0 +1,21 @@
|
||||
Nominatim - frontend library
|
||||
=========
|
||||
|
||||
Nominatim is a tool to search OpenStreetMap data
|
||||
by name and address (geocoding) and to generate synthetic addresses of
|
||||
OSM points (reverse geocoding).
|
||||
|
||||
This module implements the library for searching in a Nominatim database
|
||||
imported with the `nominatim-db` package.
|
||||
|
||||
Documentation
|
||||
=============
|
||||
|
||||
The documentation of the latest development version is in the
|
||||
`docs/` subdirectory. A HTML version can be found at
|
||||
https://nominatim.org/release-docs/develop/ .
|
||||
|
||||
License
|
||||
=======
|
||||
|
||||
The source code is available under a GPLv3 license.
|
||||
45
packaging/nominatim-api/pyproject.toml
Normal file
45
packaging/nominatim-api/pyproject.toml
Normal file
@@ -0,0 +1,45 @@
|
||||
[project]
|
||||
name = "nominatim-api"
|
||||
description = "A tool for building a database of OpenStreetMap for geocoding and for searching the database. Search library."
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.7"
|
||||
license = 'GPL-3.0-or-later'
|
||||
maintainers = [
|
||||
{ name = "Sarah Hoffmann", email = "lonvia@denofr.de" }
|
||||
]
|
||||
keywords = [ "geocoding", "OpenStreetMap", "search" ]
|
||||
classifiers = [
|
||||
"Programming Language :: Python :: 3",
|
||||
"License :: OSI Approved :: GNU General Public License (GPL)",
|
||||
"Operating System :: OS Independent",
|
||||
]
|
||||
dependencies = [
|
||||
"nominatim-core",
|
||||
"SQLAlchemy>=1.4.31",
|
||||
"psycopg",
|
||||
"PyICU"
|
||||
]
|
||||
dynamic = ["version"]
|
||||
|
||||
[project.urls]
|
||||
Homepage = "https://nominatim.org"
|
||||
Issues = "https://github.com/osm-search/Nominatim/issues"
|
||||
|
||||
[build-system]
|
||||
requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[tool.hatch.version]
|
||||
source = "code"
|
||||
path = "../../src/nominatim_api/version.py"
|
||||
expression = "NOMINATIM_API_VERSION"
|
||||
|
||||
[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.wheel]
|
||||
packages = ["nominatim_api"]
|
||||
|
||||
Reference in New Issue
Block a user