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:
@ -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 = [
|
||||||
|
Reference in New Issue
Block a user