X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/e2416f90af990126e0f624ccb076cebd49485aec..c3b318afea1dd2cebf1d46dce781ee545f6698f0:/packaging/nominatim-db/pyproject.toml diff --git a/packaging/nominatim-db/pyproject.toml b/packaging/nominatim-db/pyproject.toml index 312f1c81..bd5dc5ff 100644 --- a/packaging/nominatim-db/pyproject.toml +++ b/packaging/nominatim-db/pyproject.toml @@ -1,11 +1,13 @@ [project] name = "nominatim-db" +version = "4.5.0.post2" description = "A tool for building a database of OpenStreetMap for geocoding and for searching the database. Database backend." readme = "README.md" requires-python = ">=3.7" license = 'GPL-3.0-or-later' maintainers = [ - { name = "Sarah Hoffmann", email = "lonvia@denofr.de" } + { name = "Sarah Hoffmann", email = "lonvia@denofr.de" }, + { name = "Marc Tobias", email = "mtmail-cpan@gmx.net" } ] keywords = [ "geocoding", "OpenStreetMap", "search" ] classifiers = [ @@ -14,16 +16,21 @@ classifiers = [ "Operating System :: OS Independent", ] dependencies = [ - "nominatim-core", - "psycopg2-binary", - "psutil", - "PyICU" + "psycopg[binary]==3.2.3", + "python-dotenv==1.0.1", + "jinja2==3.1.4", + "pyYAML==6.0.2", + "datrie==0.8.2", + "psutil==6.1.0", + "PyICU==2.14", + "osmium==4.0.2", ] -dynamic = ["version"] [project.urls] Homepage = "https://nominatim.org" +Documentation = "https://nominatim.org/release-docs/latest/" Issues = "https://github.com/osm-search/Nominatim/issues" +Repository = "https://github.com/osm-search/Nominatim" [build-system] requires = ["hatchling"] @@ -34,10 +41,32 @@ path = "src/nominatim_db/version.py" pattern = "NOMINATIM_VERSION = parse_version.'(?P[^-]+)" [tool.hatch.build.targets.sdist] -include = ["src/nominatim_db", "scripts"] +include = [ + "src/nominatim_db", + "scripts", + "lib-sql/**/*.sql", + "settings", + "data/words.sql", + "extra_src/nominatim_db/paths.py" +] + +artifacts = [ + "data/country_osm_grid.sql.gz" +] + +exclude = [ + "src/nominatim_db/paths.py" +] [tool.hatch.build.targets.wheel] packages = ["src/nominatim_db"] [tool.hatch.build.targets.wheel.shared-scripts] "scripts" = "/" + +[tool.hatch.build.targets.wheel.force-include] +"lib-sql" = "nominatim_db/resources/lib-sql" +"settings" = "nominatim_db/resources/settings" +"data/country_osm_grid.sql.gz" = "nominatim_db/resources/country_osm_grid.sql.gz" +"data/words.sql" = "nominatim_db/resources/words.sql" +"extra_src/nominatim_db/paths.py" = "nominatim_db/paths.py"