Skip to content

Commit 9013760

Browse files
committed
Make project compatible with uv and poetry
1 parent 11b3305 commit 9013760

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
@@ -32,16 +32,7 @@ dev = [
3232
"ty>=0.0.14",
3333
]
3434

35-
[tool.uv]
36-
37-
[tool.uv.build-backend]
38-
module-root = ""
39-
40-
4135
[tool.ruff]
42-
[build-system]
43-
requires = ["uv_build>=0.9.0,<0.10.0"]
44-
build-backend = "uv_build"
4536
[tool.coverage.run]
4637
branch = true
4738
source = ["nc/"]
@@ -51,3 +42,18 @@ fail_under = 100
5142
skip_covered = true
5243
exclude_lines = ["pragma: no cover", "if False:", "if __name__ == .__main__.:", "raise NotImplementedError"]
5344

45+
46+
[tool.poetry]
47+
name = "nc"
48+
version = "0.1.0"
49+
description = "🎨 Named colors in Python 🎨"
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)