Skip to content

Commit 677f410

Browse files
committed
Make project compatible with uv and poetry
1 parent 78c0cef commit 677f410

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
@@ -30,16 +30,7 @@ dev = [
3030
"ty>=0.0.14",
3131
]
3232

33-
[tool.uv]
34-
35-
[tool.uv.build-backend]
36-
module-root = ""
37-
38-
3933
[tool.ruff]
40-
[build-system]
41-
requires = ["uv_build>=0.9.0,<0.10.0"]
42-
build-backend = "uv_build"
4334
[tool.coverage.run]
4435
branch = true
4536
source = "backer/"
@@ -49,3 +40,18 @@ fail_under = "50"
4940
skip_covered = true
5041
exclude_lines = ["pragma: no cover", "if False:", "if __name__ == .__main__.:", "raise NotImplementedError"]
5142

43+
44+
[tool.poetry]
45+
name = "backer"
46+
version = "0.1.0"
47+
description = "📦 Continuously back up files 📦"
48+
authors = ["Tom Ritchford <tom@swirly.com>"]
49+
readme = "README.md"
50+
51+
[tool.poetry.dependencies]
52+
python = ">=3.10"
53+
54+
55+
[build-system]
56+
requires = ["hatchling"]
57+
build-backend = "hatchling.build"

0 commit comments

Comments
 (0)