forked from HuangPuStar/MetaInfer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
53 lines (48 loc) · 1.64 KB
/
Copy pathpyproject.toml
File metadata and controls
53 lines (48 loc) · 1.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "metainfer"
version = "0.2.0"
description = "Deterministic orchestrator + lightweight WebUI for LLM inference engineering"
readme = "README.md"
requires-python = ">=3.9"
license = { text = "MIT" }
dependencies = [
# WebUI backend — all pure Python, no compiled extensions
"fastapi>=0.110",
"uvicorn>=0.27",
"pyyaml>=6.0",
# pydantic comes via fastapi; pin minimum
"pydantic>=2.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0",
"httpx>=0.27", # for fastapi TestClient
]
[project.scripts]
# Main WebUI server (the long-lived main process)
metainfer-web = "metainfer.server.app:main"
# Per-task orchestrator subprocess entry point
metainfer-orchestrator = "metainfer.orchestrator.cli:main"
[tool.setuptools.packages.find]
# Only ship the Python package; the top-level tasks/, legacy/ dirs are
# not part of the install. Per-task form.yaml / static/ / notebooks/
# ship as package-data of their task package (see below).
include = ["metainfer*"]
[tool.setuptools.package-data]
# ``*`` matches every package under ``include = ["metainfer*"]``. The
# patterns here pick up:
# - WebUI shell assets (static/**) and shared orchestrator data files
# (oracles/prompts yaml) from the metainfer package itself;
# - per-task form.yaml, ES modules under static/, and — for
# gen_infer_framework — the notebooks/ knowledge base. Each task
# package owns its non-Python assets.
"*" = [
"*.yaml",
"static/**/*",
"orchestrator/oracles/**/*.yaml",
"orchestrator/prompts/**/*",
"notebooks/**/*",
]