diff options
| author | Eugene Triguba <hello@eugenetriguba.com> | 2026-02-08 18:34:15 -0500 |
|---|---|---|
| committer | Eugene Triguba <hello@eugenetriguba.com> | 2026-02-09 21:33:59 -0500 |
| commit | 3cc211aa62a2411c5bad7fdf316ae09aa4ee6d19 (patch) | |
| tree | d173969984daa4f1c22fff8ac71edab86f4cc9e0 /pyproject.toml | |
| parent | Update contributing guide for contributing via sourcehut (diff) | |
| download | lirc-3cc211aa62a2411c5bad7fdf316ae09aa4ee6d19.zip | |
Replace poetry with uv
Diffstat (limited to 'pyproject.toml')
| -rw-r--r-- | pyproject.toml | 40 |
1 files changed, 18 insertions, 22 deletions
diff --git a/pyproject.toml b/pyproject.toml index ac84bdb..498403a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,11 +1,11 @@ -[tool.poetry] +[project] name = "lirc" version = "3.0.0" description = "Interact with the daemon in the Linux Infrared Remote Control package" -authors = ["Eugene Triguba <eugenetriguba@gmail.com>"] +authors = [{ name = "Eugene Triguba", email = "eugenetriguba@gmail.com" }] license = "MIT" readme = "README.rst" -repository = "https://github.com/eugenetriguba/lirc" +requires-python = ">=3.9" keywords = ["LIRC", "IR"] classifiers = [ "Development Status :: 5 - Production/Stable", @@ -21,6 +21,16 @@ classifiers = [ "Topic :: System :: Hardware", "Topic :: Software Development :: Libraries :: Python Modules", ] +dependencies = [] + +[project.urls] +Repository = "https://sr.ht/eugenetriguba/lirc" + +[dependency-groups] +dev = ["taskipy>=1.13.0"] +lint = ["ruff>=0.7.0"] +test = ["pytest>=8.3.3", "pytest-cov>=5.0.0", "codecov>=2.1.13"] +release = ["bump2version>=1.0.1"] [tool.taskipy.tasks] test = "task test_cov_missing" @@ -31,23 +41,6 @@ test_ci = "task test_cov --cov-report=xml" lint = "ruff check" lint_fix = "ruff check --fix" -[tool.poetry.dependencies] -python = "^3.9" - -[tool.poetry.group.dev.dependencies] -taskipy = "^1.13.0" - -[tool.poetry.group.lint.dependencies] -ruff = "^0.7.0" - -[tool.poetry.group.test.dependencies] -pytest = "^8.3.3" -pytest-cov = "^5.0.0" -codecov = "^2.1.13" - -[tool.poetry.group.release.dependencies] -bump2version = "^1.0.1" - [tool.ruff] line-length = 88 @@ -63,6 +56,9 @@ extend-select = [ [tool.ruff.lint.pydocstyle] convention = "google" +[tool.uv.build-backend] +module-root = "" + [build-system] -requires = ["poetry>=1.1"] -build-backend = "poetry.masonry.api" +requires = ["uv_build>=0.10.0,<0.11.0"] +build-backend = "uv_build" |