]> 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)
commit021eddfff6c50ac64a430fc90fc23ace8ae07596
treefaf105bba37db0d41238641ccdb77dee576e2979
parent02fa3b95717765efd8c7c75cc9571cb088093ce2
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