Skip to content

Commit 7402b5f

Browse files
committed
Make project compatible with uv and poetry
1 parent 3beb033 commit 7402b5f

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
@@ -26,15 +26,6 @@ dev = [
2626
"ty>=0.0.14",
2727
]
2828

29-
[tool.uv]
30-
31-
[tool.uv.build-backend]
32-
module-root = ""
33-
34-
[build-system]
35-
requires = ["uv_build>=0.9.0,<0.10.0"]
36-
build-backend = "uv_build"
37-
3829
[tool.coverage.run]
3930
branch = true
4031
source = ["safer"]
@@ -53,3 +44,18 @@ quote-style = "single"
5344

5445
[tool.doks]
5546
auto = true
47+
48+
[tool.poetry]
49+
name = "safer"
50+
version = "0.1.0"
51+
description = "🧿 A safer writer for files and streams 🧿"
52+
authors = ["Tom Ritchford <tom@swirly.com>"]
53+
readme = "README.md"
54+
55+
[tool.poetry.dependencies]
56+
python = ">=3.10"
57+
58+
59+
[build-system]
60+
requires = ["hatchling"]
61+
build-backend = "hatchling.build"

0 commit comments

Comments
 (0)