[issue11104] distutils sdist ignores MANIFEST

Stephen Thorne report at bugs.python.org
Sat Jun 25 01:30:58 CEST 2011

Stephen Thorne <stephen at thorne.id.au> added the comment:

Updated the patch to address the 'why not use .strip()' question. I used .rstrip('\r\n') on the basis that filenames may have leading or trailing spaces, and if you need that, you need to be able to specify that in a MANIFEST, but it is perfectly logical to disallow them, so here's a patch that doesn't support them.

It also reduces the line count by 2 because I'm composing the 'comment' and 'blank line' cases.

Added file: http://bugs.python.org/file22449/manifest-respect-3

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list