[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "china-festival-mcp"
version = "0.1.12"
description = "中国节假日和农历转换MCP服务器"
authors = [{name = "China Festival MCP", email = "china-festival-mcp@example.com"}]
readme = "README.md"
requires-python = ">=3.8"
license = {text = "Apache-2.0"}
keywords = ["mcp", "china", "festival", "holiday", "lunar", "calendar", "solar-terms"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Utilities",
]
dependencies = [
"fastmcp>=0.1.0",
"httpx>=0.24.0",
"pydantic>=2.0.0",
]
[project.urls]
Homepage = "https://github.com/your-username/china-festival-mcp"
Repository = "https://github.com/your-username/china-festival-mcp"
Issues = "https://github.com/your-username/china-festival-mcp/issues"
Documentation = "https://github.com/your-username/china-festival-mcp#readme"
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-asyncio>=0.21.0",
"black>=23.0.0",
"isort>=5.12.0",
"mypy>=1.0.0",
]
[project.scripts]
china-festival-mcp = "server_fastmcp:main"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-dir]
"" = "src"
[tool.setuptools]
py-modules = ["server_fastmcp"]
[tool.black]
line-length = 88
target-version = ['py38']
include = '\.pyi?$'
extend-exclude = '''
/(
# directories
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| build
| dist
)/
'''
[tool.isort]
profile = "black"
line_length = 88
[tool.mypy]
python_version = "3.8"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
[tool.pytest.ini_options]
minversion = "7.0"
addopts = "-ra -q"
testpaths = [
"tests",
]
asyncio_mode = "auto"