Skip to content

Commit ed818e3

Browse files
committed
Make project compatible with uv and poetry
1 parent ecf3317 commit ed818e3

2 files changed

Lines changed: 22 additions & 10 deletions

File tree

poetry.lock

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

pyproject.toml

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,25 +22,30 @@ dev = [
2222
"ty>=0.0.14",
2323
]
2424

25-
[tool.uv]
26-
27-
[tool.uv.build-backend]
28-
module-root = ""
29-
30-
3125
[tool.coverage]
3226
[tool.coverage.run]
3327
branch = true
3428

3529
[tool.coverage.report]
3630
skip_covered = true
3731
exclude_lines = ["pragma: no cover", "if False:", "if __name__ == .__main__.:", "raise NotImplementedError"]
38-
[build-system]
39-
requires = ["uv_build>=0.9.0,<0.10.0"]
40-
build-backend = "uv_build"
41-
4232
[tool.ruff]
4333
line-length = 88
4434

4535
[tool.ruff.format]
4636
quote-style = "single"
37+
38+
[tool.poetry]
39+
name = "threa"
40+
version = "0.1.0"
41+
description = "🧵 Better threads 🧵"
42+
authors = ["Tom Ritchford <tom@swirly.com>"]
43+
readme = "README.md"
44+
45+
[tool.poetry.dependencies]
46+
python = ">=3.10"
47+
48+
49+
[build-system]
50+
requires = ["hatchling"]
51+
build-backend = "hatchling.build"

0 commit comments

Comments
 (0)