httpx is FastAPI's TestClient transport; without it tests/test_db_snapshot_endpoints.py skipped its 3 tests everywhere. `pip install -e .[test]` now brings what the suite needs. The runtime requirements are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ALX2R8pghDaZuti9U7mEE9
30 lines
861 B
TOML
30 lines
861 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]
|
|
# Auto-discovers minimateplus/, micromate/, sfm/, bridges/ as packages
|
|
where = ["."]
|
|
include = ["minimateplus*", "micromate*", "sfm*", "bridges*"]
|