]> git.openstreetmap.org Git - nominatim.git/blob - packaging/nominatim-api/pyproject.toml
release 5.0.0post3
[nominatim.git] / packaging / nominatim-api / pyproject.toml
1 [project]
2 name = "nominatim-api"
3 version = "5.0.0.post3"
4 description = "A tool for building a database of OpenStreetMap for geocoding and for searching the database. Search library."
5 readme = "README.md"
6 requires-python = ">=3.7"
7 license = 'GPL-3.0-or-later'
8 maintainers = [
9   { name = "Sarah Hoffmann", email = "lonvia@denofr.de" },
10   { name = "Marc Tobias", email = "mtmail-cpan@gmx.net" }
11 ]
12 keywords = [ "geocoding", "OpenStreetMap", "search" ]
13 classifiers = [
14     "Programming Language :: Python :: 3",
15     "License :: OSI Approved :: GNU General Public License (GPL)",
16     "Operating System :: OS Independent",
17 ]
18 dependencies = [
19     "SQLAlchemy==2.0.38",
20     "falcon==4.0.2",
21     "uvicorn==0.34.0",
22     "gunicorn==23.0.0"
23 ]
24
25 [project.urls]
26 Homepage = "https://nominatim.org"
27 Documentation = "https://nominatim.org/release-docs/latest/"
28 Issues = "https://github.com/osm-search/Nominatim/issues"
29 Repository = "https://github.com/osm-search/Nominatim"
30
31 [build-system]
32 requires = ["hatchling"]
33 build-backend = "hatchling.build"
34
35 [tool.hatch.version]
36 path = "src/nominatim_api/version.py"
37 pattern = "NOMINATIM_API_VERSION = '(?P<version>[^']+)'"
38
39 [tool.hatch.build.targets.sdist]
40 include = [
41     "src/nominatim_api",
42     "src/nominatim_db/config.py",
43     "settings",
44     "extra_src/paths.py"
45 ]
46
47 exclude = [
48   "src/nominatim_api/config.py"
49 ]
50
51 [tool.hatch.build.targets.wheel]
52 packages = ["src/nominatim_api"]
53
54 [tool.hatch.build.targets.wheel.force-include]
55 "src/nominatim_db/config.py" = "nominatim_api/config.py"
56 "extra_src/paths.py" = "nominatim_api/paths.py"
57 "settings" = "nominatim_api/resources/settings"