build: 版本管理it: 使用 tomllib 替换基于正则表达式的替换
作者: bastimeyer创建于 2025年12月24日更新于 2025年12月24日
标签cleanupEnd of Lifebuild configpython: 3.10
在构建 Streamlink 的 sdist 时,它会从 build-system.requires 中删除 versioningit,这样 versioningit 只在从 git 构建时需要,正如预期的那样:
https://GitHub.com/streamlink/streamlink/blob/befff8e979e886c547b05348e8f63c789a0ccbce/pyproject.toml#L4-L6
内容来源: streamlink/streamlink