autogen/python/packages/agbench/pyproject.toml
Jack Gerrits 4ff5610853 Migrate to uv and poe for workspace management and task running (#424)
* Migrate to uv and poe for workspace management and task running

* install python

* try fix

* ensure workspace venv in used

* package dir

* move nbqa to mypy task

* separate sync, clarify docs
2024-08-29 09:46:06 -04:00

58 lines
1.1 KiB
TOML

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "agbench"
dynamic = ["version"]
authors = [
{ name="Adam Fourney", email="adamfo@microsoft.com" },
]
description = "AGNext Benchmarking Tools"
readme = "README.md"
requires-python = ">=3.8, <3.13"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"openai",
"docker",
"huggingface_hub",
"tabulate",
"azure-identity",
"pandas"
]
[tool.uv]
dev-dependencies = [
"types-tabulate",
"types-docker"
]
[tool.hatch.version]
path = "src/agbench/version.py"
[project.scripts]
agbench = "agbench.cli:main"
[tool.ruff]
extend = "../../pyproject.toml"
exclude = ["build", "dist", "page_script.js", "src/agbench/res/Dockerfile", "src/agbench/template/global_init.sh"]
include = [
"src/**",
"examples/*.py",
]
[tool.pyright]
extend = "../../pyproject.toml"
include = ["src"]
[tool.poe]
include = "../../shared_tasks.toml"
[tool.poe.tasks]
mypy = "mypy --config-file ../../pyproject.toml src"