Skip to content

Commit 0347d2d

Browse files
committed
Make project compatible with uv and poetry (fix #9)
1 parent 592e3e1 commit 0347d2d

2 files changed

Lines changed: 15 additions & 7 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: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,17 @@ dev = [
2525
"ty>=0.0.14",
2626
]
2727

28-
[tool.uv]
28+
[tool.poetry]
29+
name = "xmod"
30+
version = "1.9.0"
2931

30-
[tool.uv.build-backend]
31-
module-root = ""
32-
source-include = ["xmod.pyi/**"]
32+
description = "🌱 Turn any object into a module 🌱"
33+
authors = ["Tom Ritchford <tom@swirly.com>"]
34+
readme = "README.md"
3335

3436
[build-system]
35-
requires = ["uv_build>=0.9.0,<0.10.0"]
36-
build-backend = "uv_build"
37+
requires = ["hatchling"]
38+
build-backend = "hatchling.build"
3739

3840
[tool.coverage.run]
3941
branch = true
@@ -49,4 +51,3 @@ line-length = 88
4951

5052
[tool.ruff.format]
5153
quote-style = "single"
52-

0 commit comments

Comments
 (0)