pyproject.toml•1.65 kB
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "kicad-mcp"
version = "0.1.0"
description = "MCP server for KiCad circuit analysis"
readme = "README.md"
requires-python = ">=3.10"
license = {text = "MIT"}
authors = [
{name = "KiCad MCP Contributors"},
]
keywords = ["kicad", "mcp", "electronics", "eda", "circuit-analysis"]
classifiers = [
"Development Status :: 3 - Alpha",
"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 = [
"mcp>=0.9.0",
"pydantic>=2.0",
"sexpdata>=1.0.0",
"networkx>=3.0",
"python-dotenv>=1.0.0",
"kicad-sch-api>=0.5.4",
"kinparse>=1.2.4",
"pyyaml>=6.0",
"ddgs>=0.1.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0",
"pytest-asyncio>=0.21",
"black>=23.0",
"ruff>=0.1.0",
"mypy>=1.0",
]
[project.scripts]
kicad-mcp = "kicad_mcp.server:main"
[tool.hatch.build.targets.sdist]
include = [
"/src",
"/tests",
"/examples",
"/README.md",
"/LICENSE",
]
[tool.black]
line-length = 88
target-version = ['py310']
[tool.ruff]
line-length = 88
target-version = "py310"
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"UP", # pyupgrade
]
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true