Merge pull request 'fix(gitea): standardize build backend to setuptools' (#417) from fix/gitea-mcp-setuptools into development

Reviewed-on: #417
This commit was merged in pull request #417.
This commit is contained in:
2026-02-03 20:07:24 +00:00

View File

@@ -1,6 +1,6 @@
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "gitea-mcp-server"
@@ -8,7 +8,7 @@ version = "1.0.0"
description = "MCP Server for Gitea integration - provides issue, label, wiki, milestone, dependency, and PR tools"
readme = "README.md"
requires-python = ">=3.10"
license = "MIT"
license = {text = "MIT"}
authors = [
{ name = "Leo Miranda" }
]
@@ -16,7 +16,6 @@ keywords = ["mcp", "gitea", "claude", "tools"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
@@ -35,5 +34,10 @@ test = [
"pytest-asyncio>=0.23.0",
]
[tool.hatch.build.targets.wheel]
packages = ["mcp_server"]
[tool.setuptools.packages.find]
where = ["."]
include = ["mcp_server*"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]