summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/archive_util.py
Commit message (Collapse)AuthorAgeFilesLines
* 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-2/+2
|
* Bug #639118 from Ollie Oldham: archiver should use zipfile before zipAndrew M. Kuchling2002-11-211-28/+30
| | | | | | | | | | | Previously archive_util.py attempted to spawn an external 'zip' program for the zip action, if this fails, an attempt to import zipfile.py is made... This bites folks who have 'old' or non-conforming zip programs on windows platforms. This change tries the 'zipfile' module first, falling back to spawning a zip process if the module isn't available.
* 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-15/+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
|
* Pete Shinners discovered that zipfile.ZipFile() is called with modeGuido van Rossum2001-04-141-1/+1
| | | | | argument "wb", while the only valid modes are "r", "w" or "a". Fix this by changing the mode to "w".
* Reformat docstrings.Greg Ward2000-09-261-28/+28
| | | | Standardize whitespace in function calls.
* Ensure destination directory exists before trying to create a tarballGreg Ward2000-08-221-2/+4
| | | | or ZIP file.
* Stylistic/formatting changes to Rene Liebscher's '--help-xxx' patch.Greg Ward2000-06-241-4/+4
|
* Patch from Rene Liebscher: this adds "--help-foo" options to list theGreg Ward2000-06-071-5/+5
| | | | | | | | | | values that "--foo" can take for various commands: eg. what formats for "sdist" and "bdist", what compilers for "build_ext" and "build_clib". I have *not* reviewed this patch; I'm checking it in as-is because it also fixes a paper-bag-over-head bug in bdist.py, and because I won't have time to review it properly for several days: so someone else can test it for me, instead!
* Ensure that 'make_archive()' returns the name of the new archive file.Greg Ward2000-06-011-4/+5
|
* Normalize paths before writing them to a zipfile.Greg Ward2000-05-311-1/+1
|
* Harry Henry Gebel:Greg Ward2000-04-251-8/+16
| | | | | | | | | | | | | | | Adds bztar format to generate .tar.bz2 tarballs Uses the -f argument to overright old tarballs automatically, I am assuming that if the old tarball was wanted it would have been moved or else the version number would have been changed. Uses the -9 argument to bzip2 and gzip to use maximum compression. Compress uses the maximum compression by default. Tests for correct value for the 'compress' argument of make_tarball. This is one less place for someone adding new compression programs to forget to change.
* Extracted the "what-do-I-do-for-this-format" logic from code inGreg Ward2000-04-221-11/+21
| | | | | | 'make_archive()' to a global static dictionary, ARCHIVE_FORMATS. Added 'check_archive_formats()', which obviously makes good use of this dictionary.
* Reorganization: ripped util.py to shreds, creating in the process:Greg Ward2000-04-041-0/+152
- 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.