Skip to content

Commit 5e15dd5

Browse files
authored
fix: replace hatch, and fix dependencies (#241)
Remove hatch and use uv defaults
1 parent 9269d41 commit 5e15dd5

File tree

2 files changed

+4
-29
lines changed

2 files changed

+4
-29
lines changed

pyproject.toml

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@ requires-python = "==3.12.12"
77
dependencies = [
88
"fastapi[all]==0.120.3",
99
"pillow==12.0.0",
10-
"python-multipart==0.0.20",
10+
# used to health check docker compose:
1111
"requests==2.32.5",
12-
"uvicorn[standard]==0.38.0",
1312
]
1413

1514
[dependency-groups]
@@ -19,32 +18,16 @@ dev = [
1918
"mypy==1.18.2",
2019
"pylint==4.0.2",
2120
"pre-commit==4.3.0",
22-
]
23-
test = [
2421
"pytest==8.4.2",
2522
"pytest-cov==7.0.0",
2623
"pytest-mock==3.15.1",
2724
"testcontainers==4.13.2",
2825
]
2926

30-
[tool.uv]
31-
default-groups = [
32-
"dev",
33-
"test",
34-
]
35-
36-
[tool.hatch.build.targets.sdist]
37-
include = ["src/bss_web_file_server"]
38-
39-
[tool.hatch.build.targets.wheel]
40-
include = ["src/bss_web_file_server"]
41-
42-
[tool.hatch.build.targets.wheel.sources]
43-
"src/bss_web_file_server" = "bss_web_file_server"
44-
4527
[build-system]
46-
requires = ["hatchling"]
47-
build-backend = "hatchling.build"
28+
requires = ["uv_build==0.9.7"]
29+
build-backend = "uv_build"
30+
module-name = ["bss_web_file_server"]
4831

4932
[tool.isort]
5033
profile = "black"

uv.lock

Lines changed: 0 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)