Merge branch 'release/2.1.0-metadata-fix' into dev

This commit is contained in:
NiJingzhe
2026-09-07 10:31:31 +08:00
+4
View File
@@ -67,6 +67,9 @@ requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
# Metadata-Version 2.5 is newer than what twine 6.x validates; keep the
# published metadata at 2.4 until the toolchain accepts 2.5.
core-metadata-version = "2.4"
# The Python package ships code only. Generated skill docs live in docs/skill
# (built by tools/auto_docs_gen.py + tools/skillbuild.py) and are distributed
# as the Agent Skill archive, not inside the wheel.
@@ -74,6 +77,7 @@ packages = ["src/simplecadapi"]
include = ["src/**/*"]
[tool.hatch.build.targets.sdist]
core-metadata-version = "2.4"
include = [
"/README.md",
"/LICENSE",