]> git.openstreetmap.org Git - nominatim.git/blob - packaging/nominatim-api/pyproject.toml
contributions: some additional rules for AI use
[nominatim.git] / packaging / nominatim-api / pyproject.toml
1 [project]
2 name = "nominatim-api"
3 description = "A tool for building a database of OpenStreetMap for geocoding and for searching the database. Search library."
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   { name = "Marc Tobias", email = "mtmail-cpan@gmx.net" }
10 ]
11 keywords = [ "geocoding", "OpenStreetMap", "search" ]
12 classifiers = [
13     "Programming Language :: Python :: 3",
14     "License :: OSI Approved :: GNU General Public License (GPL)",
15     "Operating System :: OS Independent",
16 ]
17 dependencies = [
18     "python-dotenv",
19     "pyYAML>=5.1",
20     "SQLAlchemy>=1.4.31",
21     "psycopg",
22     "PyICU"
23 ]
24 dynamic = ["version"]
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"