1
0
mirror of https://github.com/ilri/dspace-statistics-api.git synced 2025-07-04 13:33:27 +02:00

Use uv build backend

uv's build backend expects our module to be in src.
This commit is contained in:
2025-07-03 14:43:07 +03:00
parent 7b8ff7c02f
commit f26b55bc5f
9 changed files with 3 additions and 4 deletions

View File

@ -25,11 +25,10 @@ homepage = "https://github.com/ilri/dspace-statistics-api"
[tool.uv.sources] [tool.uv.sources]
falcon-swagger-ui = { git = "https://github.com/alanorth/falcon-swagger-ui", rev = "falcon3-update-swagger-ui" } falcon-swagger-ui = { git = "https://github.com/alanorth/falcon-swagger-ui", rev = "falcon3-update-swagger-ui" }
# So uv doesn't fall back to setuptools # See: https://docs.astral.sh/uv/concepts/build-backend/#using-the-uv-build-backend
# See: https://packaging.python.org/en/latest/tutorials/packaging-projects/#choosing-build-backend
[build-system] [build-system]
requires = ["hatchling"] requires = ["uv_build>=0.7.19,<0.8.0"]
build-backend = "hatchling.build" build-backend = "uv_build"
[dependency-groups] [dependency-groups]
dev = [ dev = [