summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/dir_util.py
Commit message (Collapse)AuthorAgeFilesLines
* fix instances of consecutive articles (closes #23221)Benjamin Peterson2015-01-131-1/+1
| | | | Patch by Karan Goel.
* Avoid “error: None” messages from distutils (#4931).Éric Araujo2014-03-121-3/+1
| | | | Thanks to Amaury Forgeot d’Arc and Philip J. Eby.
* Ignore .nfs* files in distutils (#7719).Éric Araujo2012-07-031-0/+4
| | | | | | | | These files are created by some NFS clients a file is edited and removed concurrently (see added link in doc for more info). If such a file is removed between distutils calls listdir and copy, it will get confused. Other special files are ignored in sdist (namely VCS directories), but this has to be filtered out earlier.
* Merged revisions 86601,86605 via svnmerge fromÉric Araujo2010-11-201-0/+1
| | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k In 2.7, there was only one NameError. ........ r86601 | eric.araujo | 2010-11-20 20:35:27 +0100 (sam., 20 nov. 2010) | 2 lines Fix two NameErrors in distutils (#10407) ........ r86605 | eric.araujo | 2010-11-20 20:37:28 +0100 (sam., 20 nov. 2010) | 2 lines Add entry for r86601 ........
* Merged revisions 86244 via svnmerge fromÉric Araujo2010-11-061-3/+4
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86244 | eric.araujo | 2010-11-06 05:48:05 +0100 (sam., 06 nov. 2010) | 3 lines Prevent race condition with mkdir in distutils. Patch by Arfrever on #9281. ........
* Merged revisions 84861 via svnmerge fromSenthil Kumaran2010-09-171-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84861 | senthil.kumaran | 2010-09-17 22:05:37 +0530 (Fri, 17 Sep 2010) | 3 lines Fix Issue2236: Distutils' mkpath implementation ignoring the "mode" parameter ........
* massive import cleaning in DistutilsTarek Ziadé2009-12-211-1/+1
|
* removing the last remaning apply() callsTarek Ziadé2009-10-031-1/+1
|
* pep8-fied distutils.dir_utilTarek Ziadé2009-05-171-61/+49
|
* removed sys.platform == 'mac' usage in distutils.dir_utilTarek Ziadé2009-05-171-7/+4
|
* using >= so setting verbose to 2 will work as wellTarek Ziadé2009-02-061-3/+3
|
* Fixed #1276768: verbose option was not used in the code.Tarek Ziadé2009-02-061-15/+15
|
* Issue #5052: removed backward compatibility information (out of date)Tarek Ziadé2009-01-251-2/+0
|
* Removed uses of dict.has_key() from distutils, and uses ofGuido van Rossum2008-02-211-1/+1
| | | | | | callable() from copy_reg.py, so the interpreter now starts up without warnings when '-3' is given. More work like this needs to be done in the rest of the stdlib.
* Whitespace normalization (via reindent.py).Tim Peters2005-08-261-1/+1
|
* Patch #1167716: Support Unicode filenames in mkpath. Fixes #1121494.Martin v. Löwis2005-08-241-1/+1
| | | | Will backport to 2.4.
* 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/+0
|
* Replace backticks with repr() or "%r"Walter Dörwald2004-02-121-1/+1
| | | | From SF patch #852334.
* Part of the fix for bug #410541: add ensure_relative() functionAndrew M. Kuchling2002-11-261-1/+15
|
* 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-2/+0
| | | | is often out of date
* Make setup.py less chatty by default.Jeremy Hylton2002-06-041-18/+13
| | | | | | | | | | | | | | | 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-3/+3
|
* Andrew Kuchling: changed so the '_path_created' dictionary is keyed onGreg Ward2000-09-301-5/+8
| | | | | absolute pathnames; this lets it keep working in the face of chdir'ing around.
* Standardize whitespace in function calls.Greg Ward2000-09-261-30/+30
|
* Renamed PATH_CREATED to _path_created, on the grounds that it's private andGreg Ward2000-06-171-8/+8
| | | | mutable, rather than public and constant.
* Changed 'remove_tree()' to use the new 'grok_environment_error()' functionGreg Ward2000-06-171-7/+6
| | | | instead of muddling through IOError and OSError exception objects itself.
* Bastian Kleineidam: added 'remove_tree()' function. Needed so thatGreg Ward2000-06-171-10/+25
| | | | | | | | | 'remove_tree()' can cooperate with 'mkpath()' in the maintenance of the PATH_CREATED cache: specifically, if a directory is created with 'mkpath()', later removed with 'remove_tree()', and 'mkpath()' is again requested to create it, then it would erroneously think the directory already existed, because it was in the PATH_CREATED cache. The patch (slightly tweaked by me) fixes that.
* 'mkpath()' now detects non-string 'name' arguments -- this is a fairly commonGreg Ward2000-05-271-1/+7
| | | | | bug when adding new code, so I thought I'd make it blow up earlier than deep in posix.py.
* Reorganization: ripped util.py to shreds, creating in the process:Greg Ward2000-04-041-0/+196
- file_util.py: operations on single files - dir_util.py: operations on whole directories or directory trees - dep_util.py: simple timestamp-based dependency analysis - archive_util.py: creation of archive (tar, zip, ...) files The functions left in util.py are miscellany that don't fit in any of the new files.