Files
local-api-docs-search/pyproject.toml
7000pctAUTO 0e847cc3c3
Some checks failed
CI / test (3.10) (push) Has been cancelled
CI / test (3.11) (push) Has been cancelled
CI / test (3.12) (push) Has been cancelled
CI / build (push) Has been cancelled
fix: resolve CI/CD issues with proper package structure and imports
2026-02-03 03:54:32 +00:00

71 lines
1.7 KiB
TOML

[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "local-api-docs-search"
version = "0.1.0"
description = "A CLI tool that indexes local API documentation and enables natural language semantic search"
readme = "README.md"
requires-python = ">=3.10"
license = {text = "MIT"}
authors = [
{name = "Developer", email = "dev@example.com"}
]
keywords = ["cli", "documentation", "search", "openapi", "semantic-search"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"click>=8.1.0",
"sentence-transformers>=3.0.0",
"pyyaml>=6.0",
"rich>=13.0.0",
"chromadb>=0.5.0",
"openapi-spec-validator>=0.7.0",
"python-dotenv>=1.0.0",
]
[project.scripts]
api-docs = "local_api_docs_search.main:main"
[tool.setuptools.packages.find]
where = ["src"]
include = ["local_api_docs_search*"]
namespaces = false
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"black>=23.0.0",
"ruff>=0.1.0",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_functions = ["test_*"]
addopts = "-v --tb=short"
[tool.black]
line-length = 100
target-version = ["py310"]
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.api-docs]
index-path = "./docs"
model-name = "all-MiniLM-L6-v2"
embedding-device = "cpu"
chroma-persist-dir = "./.api-docs/chroma"