2026-08-15 12:40:13 +02:00
|
|
|
[build-system]
|
|
|
|
|
requires = ["hatchling"]
|
|
|
|
|
build-backend = "hatchling.build"
|
|
|
|
|
|
|
|
|
|
[project]
|
|
|
|
|
name = "openrgb-hue"
|
|
|
|
|
dynamic = ["version"]
|
|
|
|
|
description = "Apply Philips Hue scene gradients to OpenRGB-controlled lights, with multiple mapping and animation modes."
|
|
|
|
|
readme = "README.md"
|
|
|
|
|
license = { text = "MIT" }
|
|
|
|
|
requires-python = ">=3.10"
|
|
|
|
|
authors = [{ name = "Sebastian Krüger" }]
|
|
|
|
|
dependencies = [
|
|
|
|
|
"openrgb-python",
|
|
|
|
|
"typer>=0.9",
|
|
|
|
|
"rich>=13",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
[project.optional-dependencies]
|
2026-08-16 14:39:41 +02:00
|
|
|
dev = ["pytest>=7", "pytest-cov", "ruff>=0.6"]
|
2026-08-15 12:40:13 +02:00
|
|
|
|
|
|
|
|
[project.scripts]
|
|
|
|
|
openrgb-hue = "openrgb_hue.cli:app"
|
|
|
|
|
|
|
|
|
|
[tool.hatch.version]
|
|
|
|
|
path = "src/openrgb_hue/__init__.py"
|
|
|
|
|
|
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
|
|
|
packages = ["src/openrgb_hue"]
|
|
|
|
|
|
|
|
|
|
[tool.pytest.ini_options]
|
|
|
|
|
testpaths = ["tests"]
|
2026-08-16 14:39:41 +02:00
|
|
|
|
|
|
|
|
[tool.ruff]
|
|
|
|
|
line-length = 120
|
|
|
|
|
target-version = "py310"
|
|
|
|
|
|
|
|
|
|
[tool.ruff.lint]
|
|
|
|
|
select = ["E", "F", "I", "UP", "B"]
|
|
|
|
|
ignore = [
|
|
|
|
|
"B008", # typer.Option(...)/typer.Argument(...) as a parameter default is the idiomatic Typer pattern
|
|
|
|
|
]
|