]> git.openstreetmap.org Git - nominatim.git/blob - packaging/nominatim-api/pyproject.toml
release 5.2.0.post3
[nominatim.git] / packaging / nominatim-api / pyproject.toml
1 [project]
2 name = "nominatim-api"
3 version = "5.2.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.9"
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     "Pygments==2.19.2",
20     "SQLAlchemy==2.0.44",
21     "falcon==4.2.0",
22     "uvicorn==0.38.0",
23     "gunicorn==23.0.0"
24 ]
25
26 [project.urls]
27 Homepage = "https://nominatim.org"
28 Documentation = "https://nominatim.org/release-docs/latest/"
29 Issues = "https://github.com/osm-search/Nominatim/issues"
30 Repository = "https://github.com/osm-search/Nominatim"
31
32 [build-system]
33 requires = ["hatchling"]
34 build-backend = "hatchling.build"
35
36 [tool.hatch.version]
37 path = "src/nominatim_api/version.py"
38 pattern = "NOMINATIM_API_VERSION = '(?P<version>[^']+)'"
39
40 [tool.hatch.build.targets.sdist]
41 include = [
42     "src/nominatim_api",
43     "src/nominatim_db/config.py",
44     "settings",
45     "extra_src/paths.py"
46 ]
47
48 exclude = [
49   "src/nominatim_api/config.py"
50 ]
51
52 [tool.hatch.build.targets.wheel]
53 packages = ["src/nominatim_api"]
54
55 [tool.hatch.build.targets.wheel.force-include]
56 "src/nominatim_db/config.py" = "nominatim_api/config.py"
57 "extra_src/paths.py" = "nominatim_api/paths.py"
58 "settings" = "nominatim_api/resources/settings"