Weather-Crop-Damage/pyproject.toml
2026-10-27 14:13:32 +01:00

28 lines
792 B
TOML

# Makes src/damage_engine an installable package, so every file can import
# every other file with from damage_engine.<folder>.<file> import ...
# Install once (inside the virtual environment): pip install -e .
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[project]
name = "damage-engine"
version = "0.1.0"
requires-python = ">=3.10"
dependencies = [
# add libraries here as you need them, e.g. "numpy", "pandas", "pyyaml"
"numpy",
"pandas",
"requests",
"pyotp",
"fpdf2", # station PDF reports (report/station_pdf.py), pure Python
]
[tool.setuptools.packages.find]
where = ["src"]
# logo and fonts used by the station PDF
[tool.setuptools.package-data]
"damage_engine.report" = ["assets/*.png", "assets/fonts/*"]