Skip to content

Commit a60e876

Browse files
committed
Make project compatible with uv and poetry
1 parent 630559a commit a60e876

2 files changed

Lines changed: 22 additions & 9 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 & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,6 @@ dev = [
2828
"ty>=0.0.14",
2929
]
3030

31-
[tool.uv]
32-
33-
[tool.uv.build-backend]
34-
module-root = ""
35-
36-
[build-system]
37-
requires = ["uv_build>=0.9.0,<0.10.0"]
38-
build-backend = "uv_build"
39-
4031
[tool.coverage.run]
4132
branch = true
4233
source = ["datacls"]
@@ -51,3 +42,18 @@ line-length = 88
5142

5243
[tool.ruff.format]
5344
quote-style = "single"
45+
46+
[tool.poetry]
47+
name = "datacls"
48+
version = "0.1.0"
49+
description = "🗂 Take the edge off `dataclass` 🗂"
50+
authors = ["Tom Ritchford <tom@swirly.com>"]
51+
readme = "README.md"
52+
53+
[tool.poetry.dependencies]
54+
python = ">=3.10"
55+
56+
57+
[build-system]
58+
requires = ["hatchling"]
59+
build-backend = "hatchling.build"

0 commit comments

Comments
 (0)