summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/filelist.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix long-standing bugs with MANIFEST.in parsing on Windows (#6884).Éric Araujo2012-02-251-8/+14
| | | | | | | | | | | | | | | 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.
* Fix distutils.filelist.FileList under Windows (#13193).Éric Araujo2012-02-121-4/+2
| | | | | | | | 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 0a94e2f807c7 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.
* Issue #13193: fix distutils.filelist.FileList under WindowsAntoine Pitrou2011-11-121-1/+4
|
* Fix closes Issue11439 Remove the SVN keywords from the code as it is no ↵Senthil Kumaran2011-07-281-2/+0
| | | | longer applicable in hg. Patch Contributed by Neil Muller.
* reverted distutils its 3.1 state. All new work is now happening in ↵Tarek Ziadé2010-07-221-21/+18
| | | | disutils2, and distutils is now feature-frozen.
* Merged revisions 74501 via svnmerge fromTarek Ziadé2009-08-181-2/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r74501 | tarek.ziade | 2009-08-18 10:16:33 +0200 (Tue, 18 Aug 2009) | 1 line added more test coverage for distutils.filelist to prevent regressions when fnmatch or re are changed ........
* Merged revisions 74495 via svnmerge fromTarek Ziadé2009-08-171-16/+20
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r74495 | tarek.ziade | 2009-08-17 23:48:22 +0200 (Mon, 17 Aug 2009) | 1 line module cleanup ........
* Merged revisions 74493 via svnmerge fromTarek Ziadé2009-08-171-1/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r74493 | tarek.ziade | 2009-08-17 23:28:34 +0200 (Mon, 17 Aug 2009) | 1 line fixed how fnmatch.translate is used (since it has changed in r74475 for #6665). Now the code is not harcoding the usage of $ anymore ........
* Merged revisions 71280 via svnmerge fromTarek Ziadé2009-04-051-1/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71280 | tarek.ziade | 2009-04-05 23:44:08 +0200 (Sun, 05 Apr 2009) | 1 line Fixed #1491431: distutils.filelist.glob_to_re was broken for some edge cases (detailed in the test ........
* Remove incorrect usages of map() in distutils.Amaury Forgeot d'Arc2008-07-261-2/+2
| | | | Reported by Lisandro Dalcin.
* Merged revisions 60990-61002 via svnmerge fromChristian Heimes2008-02-231-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r60990 | eric.smith | 2008-02-23 17:05:26 +0100 (Sat, 23 Feb 2008) | 1 line Removed duplicate Py_CHARMASK define. It's already defined in Python.h. ........ r60991 | andrew.kuchling | 2008-02-23 17:23:05 +0100 (Sat, 23 Feb 2008) | 4 lines #1330538: Improve comparison of xmlrpclib.DateTime and datetime instances. Remove automatic handling of datetime.date and datetime.time. This breaks backward compatibility, but python-dev discussion was strongly against this automatic conversion; see the bug for a link. ........ r60994 | andrew.kuchling | 2008-02-23 17:39:43 +0100 (Sat, 23 Feb 2008) | 1 line #835521: Add index entries for various pickle-protocol methods and attributes ........ r60995 | andrew.kuchling | 2008-02-23 18:10:46 +0100 (Sat, 23 Feb 2008) | 2 lines #1433694: minidom's .normalize() failed to set .nextSibling for last element. Fix by Malte Helmert ........ r61000 | christian.heimes | 2008-02-23 18:40:11 +0100 (Sat, 23 Feb 2008) | 1 line Patch #2167 from calvin: Remove unused imports ........ r61001 | christian.heimes | 2008-02-23 18:42:31 +0100 (Sat, 23 Feb 2008) | 1 line Patch #1957: syslogmodule: Release GIL when calling syslog(3) ........ r61002 | christian.heimes | 2008-02-23 18:52:07 +0100 (Sat, 23 Feb 2008) | 2 lines Issue #2051 and patch from Alexander Belopolsky: Permission for pyc and pyo files are inherited from the py file. ........
* Patch# 1258 by Christian Heimes: kill basestring.Guido van Rossum2007-10-161-1/+1
| | | | I like this because it makes the code shorter! :-)
* General cleanup, raise normalization in Lib/distutils.Collin Winter2007-08-301-65/+32
|
* Fix two bugs from the map->itertools.imap switch.Collin Winter2007-07-171-2/+1
|
* Checkpoint. Manipulated things so that string literals are alwaysGuido van Rossum2007-04-271-1/+1
| | | | | | | | unicode, and a few other compensating changes, e.g. str <- unicode, chr <- unichr, and repr() of a unicode string no longer starts with 'u'. Lots of unit tests are broken, but some basic things work, in particular distutils works so the extensions can be built, and test_builtin.py works.
* Remove functions in string module that are also string methods. Also remove:Neal Norwitz2007-04-171-8/+8
| | | | | * all calls to functions in the string module (except maketrans) * everything from stropmodule except for maketrans() which is still used
* Fix most trivially-findable print statements.Guido van Rossum2007-02-091-1/+1
| | | | | | | | | There's one major and one minor category still unfixed: doctests are the major category (and I hope to be able to augment the refactoring tool to refactor bona fide doctests soon); other code generating print statements in strings is the minor category. (Oh, and I don't know if the compiler package works.)
* Remove apply()Neal Norwitz2006-03-171-1/+1
|
* Update compatibility comments to 2.1, corresponding to PEP 291 1.13.Martin v. Löwis2004-11-101-1/+1
|
* Whitespace normalization, via reindent.py.Tim Peters2004-07-181-1/+1
|
* Fix typo (from SF bug #962602)Walter Dörwald2004-05-311-1/+1
|
* Add comment to Distutil files about requiring 1.5.2 compatibility, asAndrew M. Kuchling2002-11-191-0/+2
| | | | suggested by PEP 291.
* Remove 'created by' lines; people can use CVS for this, and the information ↵Andrew M. Kuchling2002-11-141-5/+0
| | | | is often out of date
* Use distutils.debug.DEBUG instead of distutils.core.DEBUG.Jeremy Hylton2002-09-111-1/+1
| | | | | Note that distutils.core.DEBUG still works if client code uses it, but the core code avoids circular references by using distutils.debug.
* Add missing import of log.Jeremy Hylton2002-06-041-0/+1
|
* Remove unused imports caught by pycheckerJeremy Hylton2002-06-041-1/+1
|
* Make setup.py less chatty by default.Jeremy Hylton2002-06-041-34/+24
| | | | | | | | | | | | | | | 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.
* Whitespace normalization.Fred Drake2001-12-061-14/+14
|
* Standardize whitespace in function calls.Greg Ward2000-09-261-35/+34
|
* Added list-like methods: 'append()', 'extend()', 'sort()'.Greg Ward2000-07-301-14/+46
| | | | | | | | | | | 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.)
* Typo fix.Greg Ward2000-07-301-1/+1
|
* Ditched the unused 'recursive_exclude_pattern()' method.Greg Ward2000-07-301-24/+0
|
* Renamed 'select_pattern()' to 'include_pattern()'.Greg Ward2000-07-301-15/+16
| | | | Other cosmetic/doc/comment tweaks.
* Renamed 'process_line()' to 'process_template_line()', and factored outGreg Ward2000-07-301-69/+63
| | | | '_parse_template_line()'.
* Added class docstring and ditched inappropriate class attrs.Greg Ward2000-07-301-123/+126
| | | | Indentation/whitspace fixes.
* Provides the FileList class for building a list of filenames by exploringGreg Ward2000-07-301-0/+362
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.