generated from personal-projects/leo-claude-mktplace
- Remove gitea-mcp-server from dependencies (not yet on PyPI) - Add starlette to dependencies (needed for middleware) - Fix HealthCheckBypassMiddleware to actually bypass auth via request.state flag - Fix test_required_fields to not require gitea_repo (optional for PMO mode) - Update pytest testpaths to correct location All 30 tests now pass. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
62 lines
1.6 KiB
TOML
62 lines
1.6 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=61.0", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "gitea-mcp-remote"
|
|
version = "0.1.0"
|
|
description = "HTTP transport wrapper for Gitea MCP server"
|
|
readme = "README.md"
|
|
requires-python = ">=3.10"
|
|
license = { text = "MIT" }
|
|
authors = [
|
|
{ name = "Leo Miranda", email = "lmiranda@example.com" }
|
|
]
|
|
keywords = ["mcp", "gitea", "api", "server", "http", "wrapper"]
|
|
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",
|
|
"uvicorn>=0.27.0",
|
|
"pydantic>=2.0.0",
|
|
"pydantic-settings>=2.0.0",
|
|
"python-dotenv>=1.0.0",
|
|
"starlette>=0.36.0",
|
|
# gitea-mcp-server - installed separately (not on PyPI yet)
|
|
# See: https://gitea.hotserv.cloud/personal-projects/leo-claude-mktplace
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=7.0.0",
|
|
"pytest-asyncio>=0.21.0",
|
|
"pytest-cov>=4.0.0",
|
|
"httpx>=0.24.0",
|
|
"starlette>=0.36.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
gitea-http-wrapper = "gitea_http_wrapper.server:main"
|
|
|
|
[project.urls]
|
|
Homepage = "https://github.com/lmiranda/gitea-mcp-remote"
|
|
Repository = "https://github.com/lmiranda/gitea-mcp-remote"
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["src"]
|
|
|
|
[tool.pytest.ini_options]
|
|
asyncio_mode = "auto"
|
|
testpaths = ["src/gitea_http_wrapper/tests"]
|
|
python_files = ["test_*.py"]
|
|
python_classes = ["Test*"]
|
|
python_functions = ["test_*"]
|