Files
SimpleFarm/requirements.txt
T
snowy-yang a7725f8812 chore: 工程化改造前的基线快照
在引入 uv 依赖管理、ruff 静态检查与格式化、pyright 类型检查之前,
先把当前可正常运行的状态固定下来,作为后续大规模自动改动的回滚点。

此时状态:97 项测试全绿,HTTP + WebSocket 多牧场服务器可用。
2026-09-18 21:12:40 +08:00

16 lines
502 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# SimpleFarm 运行依赖
#
# 服务器需要:
fastapi>=0.110
uvicorn[standard]>=0.27 # 含 websockets,WebSocket 实时通道需要它
# 只有跑测试才需要(TestClient 依赖 httpx):
# httpx>=0.27
#
# 装一次就好:
# pip install -r requirements.txt
#
# 注意:终端界面(TUI)与命令行客户端只用标准库,
# 所以即使不装上面这些,`python main.py solo / play / do` 依然能跑;
# 只有 `python main.py serve`(服务端)需要 FastAPI。