[build-system] requires = ["setuptools>=75"] build-backend = "setuptools.build_meta" [project] name = "logitech-battery-widget" version = "0.1.0" description = "Transparent, offline Logitech battery widget for Windows" readme = "README.md" requires-python = ">=3.12" license = {file = "LICENSE"} dependencies = ["PyQt6==6.9.1", "hidapi==0.14.0.post4"] [project.gui-scripts] logitech-battery-widget = "logitech_battery_widget.main:main" [tool.setuptools] package-dir = {"" = "src"} [tool.setuptools.packages.find] where = ["src"] [tool.pytest.ini_options] pythonpath = ["src"] testpaths = ["tests"] [tool.ruff] target-version = "py312" line-length = 100 [tool.ruff.lint] select = ["E", "F", "I", "B", "UP", "SIM"]