65 lines
1.3 KiB
TOML
65 lines
1.3 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=68", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "apipilot"
|
|
version = "0.1.1"
|
|
description = "Librietta Python che trasforma endpoint FastAPI in tool eseguibili da agenti AI."
|
|
readme = "README.md"
|
|
requires-python = ">=3.10"
|
|
license = { text = "MIT" }
|
|
authors = [
|
|
{ name = "ApiPilot Contributors" },
|
|
]
|
|
classifiers = [
|
|
"Framework :: FastAPI",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
"License :: OSI Approved :: MIT License",
|
|
]
|
|
dependencies = [
|
|
"fastapi>=0.100",
|
|
"pydantic>=2.0",
|
|
"pydantic-settings>=2.0",
|
|
"httpx>=0.24",
|
|
"jsonschema>=4.18",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
test = [
|
|
"pytest>=7.4",
|
|
"pytest-asyncio>=0.21",
|
|
"pytest-cov>=4.1",
|
|
"uvicorn>=0.23",
|
|
"starlette>=0.27",
|
|
]
|
|
dev = [
|
|
"ruff>=0.1",
|
|
"mypy>=1.5",
|
|
"types-jsonschema",
|
|
]
|
|
|
|
[tool.setuptools.packages.find]
|
|
include = ["apipilot*"]
|
|
exclude = ["tests*", "examples*"]
|
|
|
|
[tool.pytest.ini_options]
|
|
asyncio_mode = "auto"
|
|
testpaths = ["tests"]
|
|
pythonpath = ["."]
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py310"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "W"]
|
|
|
|
[tool.mypy]
|
|
python_version = "3.10"
|
|
warn_return_any = true
|
|
warn_unused_configs = true
|