python
config_error
ai_generated
true
warning: sdist: standard file not found: should have one of README, README.txt, README.rst
ID: python/setuptools-missing-license-file-manifest
80%Fix Rate
83%Confidence
0Evidence
2025-01-15First Seen
Version Compatibility
| Version | Status | Introduced | Deprecated | Notes |
|---|---|---|---|---|
| 3.10 | active | — | — | — |
| 3.11 | active | — | — | — |
Root Cause
MANIFEST.in or setup.cfg does not include required metadata files for sdist.
generic中文
MANIFEST.in 或 setup.cfg 未包含 sdist 所需的元数据文件。
Workarounds
-
95% success
echo 'include README.md' >> MANIFEST.in python -m build
-
90% success
[project] readme = "README.md" # then: python -m build
Dead Ends
Common approaches that don't work:
-
60% fail
PyPI may reject the upload or the package appears unmaintained.
-
80% fail
Does not fix the build process; next build omits it again.