Skip to content

Commit f26b55b

Browse files
committed
Use uv build backend
uv's build backend expects our module to be in src.
1 parent 7b8ff7c commit f26b55b

9 files changed

Lines changed: 3 additions & 4 deletions

File tree

pyproject.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,10 @@ homepage = "https://github.com/ilri/dspace-statistics-api"
2525
[tool.uv.sources]
2626
falcon-swagger-ui = { git = "https://github.com/alanorth/falcon-swagger-ui", rev = "falcon3-update-swagger-ui" }
2727

28-
# So uv doesn't fall back to setuptools
29-
# See: https://packaging.python.org/en/latest/tutorials/packaging-projects/#choosing-build-backend
28+
# See: https://docs.astral.sh/uv/concepts/build-backend/#using-the-uv-build-backend
3029
[build-system]
31-
requires = ["hatchling"]
32-
build-backend = "hatchling.build"
30+
requires = ["uv_build>=0.7.19,<0.8.0"]
31+
build-backend = "uv_build"
3332

3433
[dependency-groups]
3534
dev = [
File renamed without changes.

0 commit comments

Comments
 (0)