victron-shedule-generator/pyproject.toml
Bartosz Wieczorek 36db56384d prepare package
2025-09-09 15:20:16 +02:00

27 lines
804 B
TOML

[build-system]
requires = ["hatchling>=1.24"]
build-backend = "hatchling.build"
[project]
name = "yourpkg" # nazwa na PyPI/pip
version = "0.1.0" # albo użyj dynamicznego (patrz niżej)
description = "Victron/PG price tools"
readme = "README.md"
requires-python = ">=3.9"
license = { text = "MIT" }
authors = [{ name = "Bartosz", email = "bartosz@example.com" }]
dependencies = [
"psycopg[binary,pool]>=3.2",
]
#[project.scripts]
#victron-fill = "yourpkg.cli:main" # `victron-fill ...`
# (opcjonalnie) „extras”: pip install yourpkg[pg,dev]
[project.optional-dependencies]
pg = ["psycopg[binary]>=3.2"]
dev = ["black", "ruff", "pytest"]
[tool.hatch.build.targets.wheel]
packages = ["src/victron_energy_price_calculator"]