5b562338ab
Everything that talks to the energy backend: the Sigenergy Modbus client, its register map, the plant store, and the polling daemon. Sits at the base of the Astrape dependency chain, because the plant store is what satisfies gibil's PlantHistoryPort -- the oracle cannot forecast without observed plant history. EnvLoader lives here for the same reason: it is the only place all three repos can see it without a fourth repo for 37 lines. EnvLoader no longer resolves env/ from __file__. Where a package is installed says nothing about where the deployment keeps its secrets; it now uses the working directory, or ASTRAPE_ENV_DIR. Extracted from a single repository where the forecasting engine, the database plumbing, the hardware client, the ingest daemons and the web UI all imported each other freely. Verified that every module imports with gibil resolved from its own installed checkout. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
14 lines
377 B
TOML
14 lines
377 B
TOML
[build-system]
|
|
requires = ["setuptools>=68"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "astrape-ems"
|
|
version = "0.1.0"
|
|
description = "Energy backend connection: Sigenergy Modbus client and plant store"
|
|
requires-python = ">=3.12"
|
|
dependencies = ["gibil", "psycopg[binary]>=3.2,<4", "pymodbus>=3.8,<4"]
|
|
|
|
[tool.setuptools.packages.find]
|
|
include = ["astrape_ems*"]
|