forked from flagos-ai/FlagScale-Agent
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
56 lines (46 loc) · 1.32 KB
/
Copy pathpyproject.toml
File metadata and controls
56 lines (46 loc) · 1.32 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
54
55
56
[build-system]
requires = ["setuptools>=77.0", "wheel>=0.45.1"]
build-backend = "setuptools.build_meta"
[project]
name = "flagscale-agent"
version = "0.1.0"
description = "FlagScale Agent - AI infrastructure agent for large-scale model training, inference, and serving."
readme = "README.md"
license = {text = "Apache-2.0"}
requires-python = ">=3.10"
dependencies = [
"typer>=0.9.0",
"anthropic>=0.39.0",
"openai>=1.0.0",
"pyyaml>=6.0",
"prompt_toolkit>=3.0",
"requests>=2.28.0",
"beautifulsoup4>=4.12.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.3.0",
"pytest-asyncio>=0.25.0",
"pytest-cov>=6.0.0",
"pytest-mock>=3.14.0",
"ruff>=0.4.0",
]
[project.urls]
Homepage = "https://github.com/flagos-ai/FlagScale-Agent"
[project.scripts]
flagscale-agent = "flagscale_agent.cli:app_entry"
[tool.setuptools.packages.find]
include = ["flagscale_agent*"]
exclude = ["**/__pycache__", "**/__pycache__/**", "tests*"]
[tool.setuptools.package-data]
"flagscale_agent" = ["**/*.yaml", "**/*.yml", "**/*.md"]
[tool.ruff]
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "UP", "I", "B"]
ignore = ["E402", "E501", "E722", "E731", "E741", "F403", "F405"]
[tool.ruff.lint.isort]
combine-as-imports = true
known-local-folder = ["flagscale_agent"]
[tool.pytest.ini_options]
testpaths = ["tests"]