]> git.openstreetmap.org Git - nominatim.git/blob - packaging/nominatim-db/pyproject.toml
make use of nominatim-api in db package optional
[nominatim.git] / packaging / nominatim-db / pyproject.toml
1 [project]
2 name = "nominatim-db"
3 description = "A tool for building a database of OpenStreetMap for geocoding and for searching the database. Database backend."
4 readme = "README.md"
5 requires-python = ">=3.7"
6 license = 'GPL-3.0-or-later'
7 maintainers = [
8   { name = "Sarah Hoffmann", email = "lonvia@denofr.de" }
9 ]
10 keywords = [ "geocoding", "OpenStreetMap", "search" ]
11 classifiers = [
12     "Programming Language :: Python :: 3",
13     "License :: OSI Approved :: GNU General Public License (GPL)",
14     "Operating System :: OS Independent",
15 ]
16 dependencies = [
17     "nominatim-core",
18     "psycopg2",
19     "psutil",
20     "PyICU"
21 ]
22 dynamic = ["version"]
23
24 [project.urls]
25 Homepage = "https://nominatim.org"
26 Issues = "https://github.com/osm-search/Nominatim/issues"
27
28 [build-system]
29 requires = ["hatchling"]
30 build-backend = "hatchling.build"
31
32 [tool.hatch.version]
33 path = "../../src/nominatim_db/version.py"
34 pattern = "NOMINATIM_VERSION = parse_version.'(?P<version>[^-]+)"
35
36 [tool.hatch.build.targets.sdist.force-include]
37 "../../src/nominatim_db" = "nominatim_db"
38
39 [tool.hatch.build.targets.sdist.sources]
40 "src/nominatim_core" = "nominatim_db"
41 "scripts" = "scripts"
42
43 [tool.hatch.build.targets.wheel]
44 packages = ["nominatim_db"]
45
46 [tool.hatch.build.targets.wheel.shared-scripts]
47 "scripts" = "/"
48