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