X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/1e88321371a3bca3c4fdda7a9ff4c54f72a951c5..4da4cbfe27a576ae011430b2de205c74435e241b:/packaging/nominatim-api/pyproject.toml?ds=sidebyside diff --git a/packaging/nominatim-api/pyproject.toml b/packaging/nominatim-api/pyproject.toml index 7d270021..4b268b16 100644 --- a/packaging/nominatim-api/pyproject.toml +++ b/packaging/nominatim-api/pyproject.toml @@ -14,7 +14,8 @@ classifiers = [ "Operating System :: OS Independent", ] dependencies = [ - "nominatim-core", + "python-dotenv", + "pyYAML>=5.1", "SQLAlchemy>=1.4.31", "psycopg", "PyICU" @@ -34,8 +35,21 @@ path = "src/nominatim_api/version.py" pattern = "NOMINATIM_API_VERSION = '(?P[^']+)'" [tool.hatch.build.targets.sdist] -include = ["src/nominatim_api"] +include = [ + "src/nominatim_api", + "src/nominatim_db/config.py", + "settings", + "extra_src/paths.py" +] + +exclude = [ + "src/nominatim_api/config.py" +] [tool.hatch.build.targets.wheel] 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"