# 警告：sdist：未找到标准文件：应包含 README、README.txt 或 README.rst 之一

- **ID:** `python/setuptools-missing-license-file-manifest`
- **领域:** python
- **类别:** config_error
- **验证级别:** ai_generated
- **修复率:** 80%

## 根因

MANIFEST.in 或 setup.cfg 未包含 sdist 所需的元数据文件。

## 版本兼容性

| 版本 | 状态 | 引入 | 弃用 |
|------|------|------|------|
| 3.10 | active | — | — |
| 3.11 | active | — | — |

## 解决方案

1. **** (95% 成功率)
   ```
   echo 'include README.md' >> MANIFEST.in
python -m build
   ```
2. **** (90% 成功率)
   ```
   [project]
readme = "README.md"
# then: python -m build
   ```

## 无效尝试

- **** — PyPI may reject the upload or the package appears unmaintained. (60% 失败率)
- **** — Does not fix the build process; next build omits it again. (80% 失败率)
