pyproject.toml•1.24 kB
[project]
name = "ps-mcp"
version = "0.1.0"
description = "专业图片处理 MCP 服务器"
authors = [{name = "PS-MCP Team", email = "ps-mcp@example.com"}]
readme = "README.md"
requires-python = ">=3.11"
license = {text = "MIT"}
keywords = ["mcp", "image-processing", "server", "ai"]
dependencies = [
"mcp>=1.0.0",
"Pillow>=10.0.0",
"opencv-python>=4.8.0",
"numpy>=1.24.0",
"psutil>=5.9.0",
"asyncio-throttle>=1.0.0",
"scikit-image>=0.21.0",
"imageio>=2.31.0",
"pydantic>=2.0.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.4.0",
"pytest-asyncio>=0.21.0",
"black>=23.0.0",
"ruff>=0.1.0",
]
[tool.uv]
dev-dependencies = [
"pytest>=7.4.0",
"pytest-asyncio>=0.21.0",
"black>=23.0.0",
"ruff>=0.1.0",
]
[tool.ruff]
line-length = 88
target-version = "py311"
exclude = [
".git",
"__pycache__",
"build",
"dist",
".venv",
]
[tool.ruff.lint]
select = ["E", "F", "I", "W", "UP"]
ignore = ["E501"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "-v --tb=short"
asyncio_mode = "auto"