]> git.openstreetmap.org Git - nominatim.git/blob - packaging/nominatim-db/pyproject.toml
release 4.5.0.post1
[nominatim.git] / packaging / nominatim-db / pyproject.toml
1 [project]
2 name = "nominatim-db"
3 version = "4.5.0.post1"
4 description = "A tool for building a database of OpenStreetMap for geocoding and for searching the database. Database backend."
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     "psycopg[binary]==3.2.3",
20     "python-dotenv==1.0.1",
21     "jinja2==3.1.4",
22     "pyYAML==6.0.2",
23     "datrie==0.8.2",
24     "psutil==6.1.0",
25     "PyICU==2.13.1",
26     "osmium==4.0.2",
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_db/version.py"
41 pattern = "NOMINATIM_VERSION = parse_version.'(?P<version>[^-]+)"
42
43 [tool.hatch.build.targets.sdist]
44 include = [
45     "src/nominatim_db",
46     "scripts",
47     "lib-sql/**/*.sql",
48     "settings",
49     "data/words.sql",
50     "extra_src/nominatim_db/paths.py"
51 ]
52
53 artifacts = [
54   "data/country_osm_grid.sql.gz"
55 ]
56
57 exclude = [
58   "src/nominatim_db/paths.py"
59 ]
60
61 [tool.hatch.build.targets.wheel]
62 packages = ["src/nominatim_db"]
63
64 [tool.hatch.build.targets.wheel.shared-scripts]
65 "scripts" = "/"
66
67 [tool.hatch.build.targets.wheel.force-include]
68 "lib-sql" = "nominatim_db/resources/lib-sql"
69 "settings" = "nominatim_db/resources/settings"
70 "data/country_osm_grid.sql.gz" = "nominatim_db/resources/country_osm_grid.sql.gz"
71 "data/words.sql" = "nominatim_db/resources/words.sql"
72 "extra_src/nominatim_db/paths.py" = "nominatim_db/paths.py"