Add .gitignore, GitLab CI pipeline with test/lint/build/release stages, project documentation (README, LICENSE, CHANGELOG, CONTRIBUTING, SECURITY), PyInstaller packaging configuration with icon and version info, Python project configuration with dependencies, and complete application source including battery provider, device discovery, settings management, UI components, startup control, and comprehensive test suite
33 lines
720 B
TOML
33 lines
720 B
TOML
[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"]
|