[project]
name = "mppt-testbench"
version = "0.1.0"
description = "MPPT tracker testbench: IT6500D (solar sim) + Prodigit 3366G (load) + HIOKI 3193-10 (power analyzer)"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
    "matplotlib>=3.10.8",
    "pyvisa>=1.16.2",
    "pyvisa-py>=0.8.1",
    "pyserial>=3.5",
]

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.hatch.build.targets.wheel]
packages = ["testbench"]

[tool.hatch.build.targets.wheel.force-include]
"IT6500D/it6500" = "it6500"
"PRODIGIT-3366G/prodigit3366g" = "prodigit3366g"
"HIOKI-3193-10/hioki3193" = "hioki3193"

[project.scripts]
bench = "testbench.cli:main"
bench-gui = "testbench.gui:main"
bench-plot = "testbench.plot_eff:main"
