Convert from poetry to uv

This commit is contained in:
2024-11-28 21:42:45 +01:00
parent 700ece0bad
commit 15d2928771
5 changed files with 365 additions and 186 deletions

View File

@@ -1,19 +1,33 @@
[tool.poetry]
[project]
name = "huecli"
version = "0.1.6"
description = "Set Philips Hue lights using MQTT"
authors = ["Torjus Håkestad <torjus@uio.no>"]
license = "MIT"
authors = [
{ name = "Torjus Håkestad", email = "torjus@usit.uio.no" },
]
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"paho-mqtt>=2.1.0",
"typer-slim>=0.13.1",
]
[tool.poetry.dependencies]
python = ">=3.11"
paho-mqtt = ">=2.1.0"
typer-slim = ">=0.12.3"
[tool.poetry.scripts]
[project.scripts]
huecli = "huecli.__main__:main"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.uv]
package = true
[dependency-groups]
dev = [
{include-group = "linting"},
{include-group = "typing"},
]
typing = [
"mypy>=1.13.0",
]
linting = [
"ruff>=0.8.0",
]