summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/dir_util.py
Commit message (Collapse)AuthorAgeFilesLines
* 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.