| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
make 'mkdir()' return list of directories created.
|
|
|
|
|
| |
for the 'bdist_dumb' command. Adapted, with tweakage, from the 'sdist'
command.
|
| |
|
|
|
|
|
| |
Tightened up some logic in 'native_path()'.
Added 'subst_vars()' and '_check_environ()'.
|
| |
|
|
|
|
| |
changed 'copy_file()' to use the native Mac file copy routine.
|
|
|
|
| |
slashes, and put back together again using the local directory separator.
|
|
|
|
| |
simpler implementation.
|
|
|
|
| |
Fixed all DistutilsFileError messages to wrap file/dir names in quotes.
|
| |
|
|
|
|
| |
platform, using 'os.uname()' or 'sys.platform'.
|
| |
|
|
|
|
| |
the 'missing' parameter.
|
|
|
|
|
|
|
| |
the code a bit and should make it work under Windows even with trailing
backslash.
Fixed a couple of docstrings.
Added comment about 'make_file()' possibly being redundant and unnecessary.
|
|
|
|
|
|
| |
- deal with empty tail from os.path.split() (eg. from trailing slash,
or backslash, or whatever)
- check PATH_CREATED hash inside loop as well
|
|
|
|
|
|
|
| |
Added global cache PATH_CREATED used by 'mkpath()' to ensure it doesn't
try to create the same path more than once in a session (and, more
importantly, to ensure that it doesn't print "creating X" more than
once for each X per session!).
|
|
|
|
|
|
| |
Terminology change in 'newer()'.
Made 'copy_tree' respect dry_run flag a little better.
Added 'move_file()'.
|
|
|
|
| |
'chmod()' in 'copy_file()'.
|
|
|
|
|
|
|
| |
meaningful return values: respectively, whether the copy was done, and
the list of files that were copied. This meant some trivial changes in
core.py as well: the Command methods that mirror 'copy_file()' and
'copy_tree()' have to pass on their return values.
|
|
|
|
|
|
|
|
| |
that wrap them in the Command class).
Fixed 'copy_file()' to use '_copy_file_contents()', not 'copyfile()'
from shutil module -- no reference to shutil anymore.
Added "not copying" announcement in 'copy_file()'.
Wee comment fix.
|
|
|