]> 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:13:53 +0000 (16:13 +0100)
committerÉric Araujo <merwok@netwok.org>
Sat, 25 Feb 2012 15:13:53 +0000 (16:13 +0100)
commit31378df83a5562df10b21f3f32d3b3a6cbfa054b
tree65ae1da0209e7850280515e47ca3d8a1caf3658d
parent4ef552835684bc55fc5aeff8661798e84fea31e4
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 557a973709de,
c566a3447ba1 and 3925081a7ca0 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