The bench and lab tools (MITM proxy, the old ACH servers, probes, link simulator) were copied into the SFM image and installed as a package, though SFM imports nothing from them (ADR 0003: lab tools leave the image). Dockerfile and the package list now carry minimateplus, micromate, sfm and scripts only; the backfills still run in the container. Checked: the image builds, sfm.server and the backfill / import scripts import inside it. Tests that use bridges/ run from a checkout, unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ALX2R8pghDaZuti9U7mEE9
31 lines
913 B
TOML
31 lines
913 B
TOML
[build-system]
|
|
requires = ["setuptools>=68", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "seismo-relay"
|
|
version = "0.35.0"
|
|
description = "Python client and REST server for MiniMate Plus seismographs"
|
|
requires-python = ">=3.10"
|
|
dependencies = [
|
|
"fastapi>=0.104",
|
|
"uvicorn[standard]>=0.24",
|
|
"pyserial>=3.5",
|
|
"sqlalchemy>=2.0",
|
|
"python-multipart>=0.0.7",
|
|
"h5py>=3.10",
|
|
"numpy>=1.24",
|
|
"matplotlib>=3.8",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
# What the test suite needs beyond the runtime: `pip install -e .[test]`.
|
|
# httpx is FastAPI's TestClient transport (tests/test_db_snapshot_endpoints.py).
|
|
test = ["pytest>=7", "httpx>=0.24"]
|
|
|
|
[tool.setuptools.packages.find]
|
|
# The product's packages. bridges/ (bench tools) is not one of them: it runs
|
|
# from a checkout and stays out of the image (ADR 0003).
|
|
where = ["."]
|
|
include = ["minimateplus*", "micromate*", "sfm*"]
|