[build-system]
requires = ["setuptools>=42", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "lzwcai-mcp-iot"
version = "0.3.3"
description = "IoT设备控制服务器，使用FastMCP框架提供设备操作功能"
authors = [
    {name = "LZWCAI开发团队", email = "dev@lzwcai.com"}
]
readme = "README.md"
requires-python = ">=3.8"
license = "LicenseRef-Proprietary"
classifiers = [
    "Programming Language :: Python :: 3",
    "Programming Language :: Python :: 3.8",
    "Programming Language :: Python :: 3.9",
    "Programming Language :: Python :: 3.10",
    "Programming Language :: Python :: 3.11",
    "Operating System :: OS Independent",
]
dependencies = [
    "fastmcp>=0.1.0",
    "requests"
]

[project.optional-dependencies]
dev = [
    "pytest>=7.0.0",
    "black>=23.1.0",
    "isort>=5.12.0",
    "flake8>=6.0.0",
    "mypy>=1.0.0",
]


[project.scripts]
lzwcai-mcp-iot = "lzwcai_mcp_iot.iot_device_tool:main"

[tool.setuptools]
packages = ["lzwcai_mcp_iot", "lzwcai_mcp_iot.src"]


[tool.black]
line-length = 88
target-version = ["py38", "py39", "py310", "py311"]
include = '\.pyi?$'

[tool.isort]
profile = "black"
line_length = 88

[tool.mypy]
python_version = "3.8"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false
disallow_incomplete_defs = false

[tool.pytest.ini_options]
minversion = "7.0"
testpaths = ["tests"] 
