mirror of https://github.com/python/cpython
560bf855d3
The changed behavior of sdist in 2.7 broke packaging for projects that wanted to use a manually-maintained MANIFEST file (instead of having a MANIFEST.in template and letting distutils generate the MANIFEST). The fixes that were committed for #8688 (d29399100973 by Tarek and f7639dcdffc3 by me) did not fix all issues exposed in the bug report, and also added one problem: the MANIFEST file format gained comments, but the read_manifest method was not updated to handle (i.e. ignore) them. This changeset should fix everything; the tests have been expanded and I successfully tested with Mercurial, which suffered from this regression. I have grouped the versionchanged directives for these bugs in one place and added micro version numbers to help users know the quirks of the exact version they’re using. I also removed a stanza in the docs that was forgotten in Tarek’s first changeset. Initial report, thorough diagnosis and patch by John Dennis, further work on the patch by Stephen Thorne, and a few edits and additions by me. |
||
---|---|---|
.. | ||
__init__.py | ||
bdist.py | ||
bdist_dumb.py | ||
bdist_msi.py | ||
bdist_rpm.py | ||
bdist_wininst.py | ||
build.py | ||
build_clib.py | ||
build_ext.py | ||
build_py.py | ||
build_scripts.py | ||
check.py | ||
clean.py | ||
command_template | ||
config.py | ||
install.py | ||
install_data.py | ||
install_egg_info.py | ||
install_headers.py | ||
install_lib.py | ||
install_scripts.py | ||
register.py | ||
sdist.py | ||
upload.py | ||
wininst-6.0.exe | ||
wininst-7.1.exe | ||
wininst-8.0.exe | ||
wininst-9.0-amd64.exe | ||
wininst-9.0.exe |