]> git.openstreetmap.org Git - nominatim.git/blobdiff - packaging/nominatim-api/pyproject.toml
release 4.5.0.post7
[nominatim.git] / packaging / nominatim-api / pyproject.toml
index 0e3f36d9e95a2fb4c645b73058a9519606b71f71..8d68dff3e3aab4a211c552bdd86ec4b876f9f5f5 100644 (file)
@@ -1,11 +1,13 @@
 [project]
 name = "nominatim-api"
 [project]
 name = "nominatim-api"
+version = "4.5.0.post7"
 description = "A tool for building a database of OpenStreetMap for geocoding and for searching the database. Search library."
 readme = "README.md"
 requires-python = ">=3.7"
 license = 'GPL-3.0-or-later'
 maintainers = [
 description = "A tool for building a database of OpenStreetMap for geocoding and for searching the database. Search library."
 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 = [
 ]
 keywords = [ "geocoding", "OpenStreetMap", "search" ]
 classifiers = [
@@ -14,31 +16,46 @@ classifiers = [
     "Operating System :: OS Independent",
 ]
 dependencies = [
     "Operating System :: OS Independent",
 ]
 dependencies = [
-    "nominatim-core",
-    "SQLAlchemy>=1.4.31",
-    "psycopg",
-    "PyICU"
+    "python-dotenv==1.0.1",
+    "pyYAML==6.0.2",
+    "SQLAlchemy==2.0.36",
+    "psycopg[binary]==3.2.3",
+    "PyICU==2.14",
+    "falcon==4.0.2",
+    "uvicorn==0.32.0",
+    "gunicorn==23.0.0"
 ]
 ]
-dynamic = ["version"]
 
 [project.urls]
 Homepage = "https://nominatim.org"
 
 [project.urls]
 Homepage = "https://nominatim.org"
+Documentation = "https://nominatim.org/release-docs/latest/"
 Issues = "https://github.com/osm-search/Nominatim/issues"
 Issues = "https://github.com/osm-search/Nominatim/issues"
+Repository = "https://github.com/osm-search/Nominatim"
 
 [build-system]
 requires = ["hatchling"]
 build-backend = "hatchling.build"
 
 [tool.hatch.version]
 
 [build-system]
 requires = ["hatchling"]
 build-backend = "hatchling.build"
 
 [tool.hatch.version]
-path = "../../src/nominatim_api/version.py"
+path = "src/nominatim_api/version.py"
 pattern = "NOMINATIM_API_VERSION = '(?P<version>[^']+)'"
 
 pattern = "NOMINATIM_API_VERSION = '(?P<version>[^']+)'"
 
-[tool.hatch.build.targets.sdist.force-include]
-"../../src/nominatim_db" = "nominatim_api"
+[tool.hatch.build.targets.sdist]
+include = [
+    "src/nominatim_api",
+    "src/nominatim_db/config.py",
+    "settings",
+    "extra_src/paths.py"
+]
 
 
-[tool.hatch.build.targets.sdist.sources]
-"src/nominatim_core" = "nominatim_api"
+exclude = [
+  "src/nominatim_api/config.py"
+]
 
 [tool.hatch.build.targets.wheel]
 
 [tool.hatch.build.targets.wheel]
-packages = ["nominatim_api"]
+packages = ["src/nominatim_api"]
 
 
+[tool.hatch.build.targets.wheel.force-include]
+"src/nominatim_db/config.py" = "nominatim_api/config.py"
+"extra_src/paths.py" = "nominatim_api/paths.py"
+"settings" = "nominatim_api/resources/settings"