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