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