- Configure structured logging via environment variable - Add Prometheus metrics for HTTP request tracking and health - Secure /metrics endpoint with IP allowlisting - Update .dockerignore to exclude build artifacts
33 lines
651 B
TOML
33 lines
651 B
TOML
[build-system]
|
|
requires = ["setuptools>=61"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "nike"
|
|
version = "0.1.0"
|
|
description = "Football data platform with MCP server"
|
|
requires-python = ">=3.11"
|
|
|
|
dependencies = [
|
|
"fastapi>=0.115",
|
|
"uvicorn[standard]>=0.30",
|
|
"fastmcp>=2.0",
|
|
"psycopg2-binary>=2.9",
|
|
"python-dotenv>=1.0",
|
|
"requests>=2.32",
|
|
"jinja2>=3.1",
|
|
"wsproto>=1.2",
|
|
"prometheus-client>=0.20",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"httpx>=0.27", # for FastAPI test client
|
|
"pytest>=8",
|
|
"pytest-asyncio>=0.24",
|
|
]
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["."]
|
|
include = ["nike*"]
|