History log of /external/python/cpython2/Lib/distutils/filelist.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
31378df83a5562df10b21f3f32d3b3a6cbfa054b 25-Feb-2012 Éric Araujo <merwok@netwok.org> 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.
/external/python/cpython2/Lib/distutils/filelist.py
6faad8de7f6c4b5d13d018d552147766dd5bf12e 12-Feb-2012 Éric Araujo <merwok@netwok.org> Fix distutils.filelist.FileList under Windows (#13193).

The code used to call os.path.join to build a regex but without escaping
the backslash, which lead to test failures on Windows. Antoine Pitrou
fixed it in 557a973709de by enhancing the code to accept both / and \,
with proper escaping, but in my opinion this goes against the distutils
feature freeze, hence this change.
/external/python/cpython2/Lib/distutils/filelist.py
667383c8d4c9f2169536cafb5f56943c8ef852fe 12-Nov-2011 Antoine Pitrou <solipsis@pitrou.net> Issue #13193: Fix distutils.filelist.FileList under Windows. The
"recursive-include" directive now recognizes both legal path separators.
/external/python/cpython2/Lib/distutils/filelist.py
f638486cf09816668c662241c160dad863582067 03-Oct-2009 Tarek Ziadé <ziade.tarek@gmail.com> removing the last remaning apply() calls
/external/python/cpython2/Lib/distutils/filelist.py
1c8c9d12642ba04bb22f612f5d09eaf93c274a18 18-Aug-2009 Tarek Ziadé <ziade.tarek@gmail.com> added more test coverage for distutils.filelist to prevent regressions when fnmatch or re are changed
/external/python/cpython2/Lib/distutils/filelist.py
e2f35c3588e6107e0166446c57da1da48399a005 17-Aug-2009 Tarek Ziadé <ziade.tarek@gmail.com> module cleanup
/external/python/cpython2/Lib/distutils/filelist.py
98026f1521b4c549168ecb0d03f0163070f3534e 17-Aug-2009 Tarek Ziadé <ziade.tarek@gmail.com> fixed how fnmatch.translate is used (since it has changed in r74475 for #6665). Now the code is not harcoding the usage of $ anymore
/external/python/cpython2/Lib/distutils/filelist.py
faa6b121fb34f1c4db36f20b625ece0291396174 05-Apr-2009 Tarek Ziadé <ziade.tarek@gmail.com> Fixed #1491431: distutils.filelist.glob_to_re was broken for some edge cases (detailed in the test
/external/python/cpython2/Lib/distutils/filelist.py
9f369e91632a9249074049719e31ccb13d8ae039 25-Jan-2009 Tarek Ziadé <ziade.tarek@gmail.com> Issue #5052: removed backward compatibility information (out of date)
/external/python/cpython2/Lib/distutils/filelist.py
c5f05e45cffa16f45f1332cec531c045893f928f 23-Feb-2008 Christian Heimes <christian@cheimes.de> Patch #2167 from calvin: Remove unused imports
/external/python/cpython2/Lib/distutils/filelist.py
5a6601cfc63a7b4fe2caf05a0116022ab76b64e6 10-Nov-2004 Martin v. Löwis <martin@v.loewis.de> Update compatibility comments to 2.1, corresponding to PEP 291 1.13.
/external/python/cpython2/Lib/distutils/filelist.py
182b5aca27d376b08a2904bed42b751496f932f3 18-Jul-2004 Tim Peters <tim.peters@gmail.com> Whitespace normalization, via reindent.py.
/external/python/cpython2/Lib/distutils/filelist.py
cbd0b365c1f27d390827e74a88a96f3a13034e0e 31-May-2004 Walter Dörwald <walter@livinglogic.de> Fix typo (from SF bug #962602)
/external/python/cpython2/Lib/distutils/filelist.py
d448f66317130555cfc157683c743b3d004374c4 19-Nov-2002 Andrew M. Kuchling <amk@amk.ca> Add comment to Distutil files about requiring 1.5.2 compatibility, as
suggested by PEP 291.
/external/python/cpython2/Lib/distutils/filelist.py
a6483d2e9a9d9a69e9823217bf6b6334bb0f0066 14-Nov-2002 Andrew M. Kuchling <amk@amk.ca> Remove 'created by' lines; people can use CVS for this, and the information is often out of date
/external/python/cpython2/Lib/distutils/filelist.py
fcd7353863c024bb87aabe7c4639ca8df692ac85 11-Sep-2002 Jeremy Hylton <jeremy@alum.mit.edu> Use distutils.debug.DEBUG instead of distutils.core.DEBUG.

Note that distutils.core.DEBUG still works if client code uses it, but
the core code avoids circular references by using distutils.debug.
/external/python/cpython2/Lib/distutils/filelist.py
4f2f1335a8f889ac071b01becf49b49032beb163 04-Jun-2002 Jeremy Hylton <jeremy@alum.mit.edu> Add missing import of log.
/external/python/cpython2/Lib/distutils/filelist.py
332a1461274c356d38f558b27096708879fc36b4 04-Jun-2002 Jeremy Hylton <jeremy@alum.mit.edu> Remove unused imports caught by pychecker
/external/python/cpython2/Lib/distutils/filelist.py
cd8a1148e19116db109f27d26c02e1de536dc76e 04-Jun-2002 Jeremy Hylton <jeremy@alum.mit.edu> Make setup.py less chatty by default.

This is a conservative version of SF patch 504889. It uses the log
module instead of calling print in various places, and it ignores the
verbose argument passed to many functions and set as an attribute on
some objects. Instead, it uses the verbosity set on the logger via
the command line.

The log module is now preferred over announce() and warn() methods
that exist only for backwards compatibility.

XXX This checkin changes a lot of modules that have no test suite and
aren't exercised by the Python build process. It will need
substantial testing.
/external/python/cpython2/Lib/distutils/filelist.py
b94b849d65af71b4b432a74fdaef8ccd88209cc0 06-Dec-2001 Fred Drake <fdrake@acm.org> Whitespace normalization.
/external/python/cpython2/Lib/distutils/filelist.py
071ed76732e03f84bee67aef7a316aed82d2e79f 26-Sep-2000 Greg Ward <gward@python.net> Standardize whitespace in function calls.
/external/python/cpython2/Lib/distutils/filelist.py
979db976a3a07e20df7664b567aba91a2d0b538c 30-Jul-2000 Greg Ward <gward@python.net> Added list-like methods: 'append()', 'extend()', 'sort()'.
Added 'remove_duplicates()'.
Simplified constructor: no longer take 'files' or 'allfiles' as args,
and no longer have 'dir' attribute at all.
Added 'set_allfiles()' and 'findall()' so the client does have a
way to set the list of all files.
Changed 'include_pattern()' to use the 'findall()' method instead of
the external function. (Of course, the method is just a trivial
wrapper around the function.)
/external/python/cpython2/Lib/distutils/filelist.py
d5dcc174b0b8d3bef3e51b64f6fb1383e803cdd0 30-Jul-2000 Greg Ward <gward@python.net> Typo fix.
/external/python/cpython2/Lib/distutils/filelist.py
c019e2c7a8db8e84033d1c4121b1e63abb172c7d 30-Jul-2000 Greg Ward <gward@python.net> Ditched the unused 'recursive_exclude_pattern()' method.
/external/python/cpython2/Lib/distutils/filelist.py
0f341855accddf217f1926d2f50e30f9da26baba 30-Jul-2000 Greg Ward <gward@python.net> Renamed 'select_pattern()' to 'include_pattern()'.
Other cosmetic/doc/comment tweaks.
/external/python/cpython2/Lib/distutils/filelist.py
7b3d56c85cacf45cf27f87e13a95fe12d76984d1 30-Jul-2000 Greg Ward <gward@python.net> Renamed 'process_line()' to 'process_template_line()', and factored out
'_parse_template_line()'.
/external/python/cpython2/Lib/distutils/filelist.py
c98927a059c458065ca3311a55f70b323f75c467 30-Jul-2000 Greg Ward <gward@python.net> Added class docstring and ditched inappropriate class attrs.
Indentation/whitspace fixes.
/external/python/cpython2/Lib/distutils/filelist.py
adc11720645a82c8115c8686b5bfdbc23cd78bb0 30-Jul-2000 Greg Ward <gward@python.net> Provides the FileList class for building a list of filenames by exploring
the filesystem, and filtering the list by applying various patterns.

Initial revision (almost) as supplied in a patch by Rene Liebscher; I
just renamed the class from Template to FileList, and the module
accordingly.
/external/python/cpython2/Lib/distutils/filelist.py