40 lines
783 B
TOML
40 lines
783 B
TOML
[project]
|
|
name = "line-laser-hmi"
|
|
version = "0.1.0"
|
|
description = "线激光视觉设备运动控制器的 Qt 上位机 GUI,基于 line-laser-modbus 协议库"
|
|
readme = "README.md"
|
|
requires-python = ">=3.12,<3.13"
|
|
dependencies = [
|
|
"line-laser-modbus",
|
|
"PySide6>=6.7",
|
|
"pyqtgraph>=0.13.7",
|
|
"pyserial>=3.5",
|
|
]
|
|
|
|
[project.scripts]
|
|
line-laser-hmi = "line_laser_hmi.app:main"
|
|
|
|
[tool.uv.sources]
|
|
line-laser-modbus = { path = "../py" }
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"pytest>=9.0.1",
|
|
"ruff>=0.14.6",
|
|
]
|
|
|
|
[build-system]
|
|
requires = ["uv_build>=0.11.14,<0.12.0"]
|
|
build-backend = "uv_build"
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py312"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "UP", "B", "SIM"]
|
|
|
|
[tool.pytest.ini_options]
|
|
addopts = "-q"
|
|
testpaths = ["tests"]
|