]> granicus.if.org Git - python/commit
Fix long-standing bugs with MANIFEST.in parsing on Windows (#6884).
authorÉric Araujo <merwok@netwok.org>
Sat, 25 Feb 2012 15:28:05 +0000 (16:28 +0100)
committerÉric Araujo <merwok@netwok.org>
Sat, 25 Feb 2012 15:28:05 +0000 (16:28 +0100)
commit29b925548c415b8b4d4085de5a353f68bf4062a6
treebf00350ce0002457fba872f9e194debdce667a99
parentcbfe4d4f8be569ea0d711646e298e70fdbd80986
Fix long-standing bugs with MANIFEST.in parsing on Windows (#6884).

These regex changes fix a number of issues for distutils on Windows:
- #6884: impossible to include a file starting with 'build'
- #9691 and #14004: sdist includes too many files
- #13193: test_filelist failures

This commit replaces the incorrect changes done in 0a94e2f807c7 and
90b30d62caf2 to fix #13193; we were too eager to fix the test failures
and I did not study the code enough before greenlighting patches.  This
time we have unit tests from the problems reported by users to be sure
we have the right fix.

Thanks to Nadeem Vawda for his help.
Lib/distutils/filelist.py
Lib/distutils/tests/test_filelist.py
Lib/distutils/tests/test_sdist.py
Misc/NEWS