-
Notifications
You must be signed in to change notification settings - Fork 5.6k
/
Copy pathpyproject.toml
91 lines (73 loc) · 1.92 KB
/
pyproject.toml
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "autogenstudio"
authors = [
{ name="AutoGen Team", email="[email protected]" },
]
description = "AutoGen Studio"
readme = "README.md"
license = {file = "LICENSE-CODE"}
requires-python = ">=3.9"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"pydantic",
"pydantic-settings",
"fastapi",
"typer",
"uvicorn",
"aiofiles",
"python-dotenv",
"websockets",
"numpy < 2.0.0",
"sqlmodel",
"psycopg",
"alembic",
"loguru",
"pyyaml",
"autogen-core>=0.4.2,<0.5",
"autogen-agentchat>=0.4.2,<0.5",
"autogen-ext[magentic-one, openai, azure]>=0.4.2,<0.5",
"azure-identity"
]
optional-dependencies = {web = ["fastapi", "uvicorn"], database = ["psycopg"]}
dynamic = ["version"]
[tool.setuptools]
include-package-data = true
[tool.setuptools.dynamic]
version = {attr = "autogenstudio.version.VERSION"}
readme = {file = ["README.md"]}
[tool.setuptools.packages.find]
include = ["autogenstudio*"]
exclude = ["*.tests*"]
namespaces = false
[tool.setuptools.package-data]
"autogenstudio" = ["*.*"]
[tool.pytest.ini_options]
filterwarnings = [
"ignore:Deprecated call to `pkg_resources\\.declare_namespace\\('.*'\\):DeprecationWarning",
"ignore::DeprecationWarning:google.rpc",
]
[project.urls]
"Homepage" = "https://github.com/microsoft/autogen"
"Bug Tracker" = "https://github.com/microsoft/autogen/issues"
[project.scripts]
autogenstudio = "autogenstudio.cli:run"
[tool.ruff]
extend = "../../pyproject.toml"
exclude = ["build", "dist"]
include = [
"autogenstudio/**"
]
[tool.ruff.lint]
ignore = ["B008"]
[tool.poe.tasks]
fmt = "ruff format"
format.ref = "fmt"
lint = "ruff check"
test = "pytest -n 0 --cov=autogenstudio --cov-report=term-missing"