summaryrefslogtreecommitdiff
path: root/Lib/distutils/archive_util.py
Commit message (Collapse)AuthorAgeFilesLines
* Closes #27904: Improved logging statements to defer formatting until needed.Vinay Sajip2016-08-311-1/+1
|
* Issue #16314: Added support for the LZMA compression in distutils.Serhiy Storchaka2015-05-161-9/+12
|
* Issue #19544, #6516: no need to catch AttributeError on import pwd/grpVictor Stinner2013-11-151-2/+2
|
* Issue #19544 and Issue #6516: quick workaround for failing buildsChristian Heimes2013-11-151-2/+2
|
* Issue #19544 and Issue #6516: Restore support for --user and --group ↵Andrew Kuchling2013-11-151-5/+66
| | | | parameters to sdist command as found in Python 2.7 and originally slated for Python 3.2 but accidentally rolled back as part of the distutils2 rollback. Closes Issue #6516.
* Fix closes Issue11439 Remove the SVN keywords from the code as it is no ↵Senthil Kumaran2011-07-281-2/+0
| | | | longer applicable in hg. Patch Contributed by Neil Muller.
* On behalf of Tarek: Issue #11501: disutils.archive_utils.make_zipfile noAntoine Pitrou2011-03-151-7/+12
| | | | | longer fails if zlib is not installed. Instead, the zipfile.ZIP_STORED compression is used to create the ZipFile. Patch by Natalia B. Bidart.
* Merged revisions 87277 via svnmerge fromÉric Araujo2010-12-151-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87277 | eric.araujo | 2010-12-15 21:26:30 +0100 (mer., 15 déc. 2010) | 2 lines Fix wrong name in docstring and doc (#10693). Original patch by Eli Bendersky. ........
* Merged revisions 75662 via svnmerge fromTarek Ziadé2009-10-241-5/+6
| | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r75662 | tarek.ziade | 2009-10-24 15:38:27 +0200 (Sat, 24 Oct 2009) | 9 lines Merged revisions 75659 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r75659 | tarek.ziade | 2009-10-24 15:29:44 +0200 (Sat, 24 Oct 2009) | 1 line #7066 - Fixed distutils.archive_util.make_archive behavior so it restores the cwd ........ ................
* Merged revisions 72981 via svnmerge fromTarek Ziadé2009-05-281-23/+35
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72981 | tarek.ziade | 2009-05-28 14:53:54 +0200 (Thu, 28 May 2009) | 1 line Fixed #6048: Distutils uses the tarfile module instead of the tar command now ........
* Merged revisions 72736 via svnmerge fromTarek Ziadé2009-05-171-40/+40
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72736 | tarek.ziade | 2009-05-17 14:04:57 +0200 (Sun, 17 May 2009) | 1 line pep8-fied distutils.archive_util + added minimum test coverage ........
* Merged revisions 62873,62887,62892-62896,62904 via svnmerge fromBenjamin Peterson2008-05-081-8/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r62873 | raymond.hettinger | 2008-05-08 12:18:13 -0500 (Thu, 08 May 2008) | 1 line Issue 2778. Document the temporary frozenset swap in __contains__(), remove(), and discard(). ........ r62887 | brett.cannon | 2008-05-08 14:50:51 -0500 (Thu, 08 May 2008) | 5 lines Make test.test_support.catch_warning() take an argument specifying if any triggered warnings should be captured. This allows the context manager to be used to just prevent the internal state of the 'warnings' framework and thus allow triggered warnings to be displayed. ........ r62892 | brett.cannon | 2008-05-08 15:20:24 -0500 (Thu, 08 May 2008) | 4 lines Fix a bug introduced by the addition of the 'record' argument to test.test_support.catch_warning() where showwarning() was not being set properly. ........ r62893 | brett.cannon | 2008-05-08 15:20:54 -0500 (Thu, 08 May 2008) | 2 lines Document the 'record' argument for test.test_support.catch_warning(). ........ r62894 | brett.cannon | 2008-05-08 15:23:06 -0500 (Thu, 08 May 2008) | 4 lines Fix sys.flags to properly expose bytes_warning. Closes issue #2790. ........ r62895 | brett.cannon | 2008-05-08 15:23:54 -0500 (Thu, 08 May 2008) | 2 lines Add a missing entry on the fix for issue #2790. ........ r62896 | brett.cannon | 2008-05-08 15:24:43 -0500 (Thu, 08 May 2008) | 2 lines Add test.test_support.catch_warning()'s new argument. ........ r62904 | benjamin.peterson | 2008-05-08 17:09:54 -0500 (Thu, 08 May 2008) | 2 lines Replace instances of os.path.walk with os.walk ........
* General cleanup, raise normalization in Lib/distutils.Collin Winter2007-08-301-8/+5
|
* Get rid of dict.has_key(). Boy this has a lot of repercussions!Guido van Rossum2006-08-181-1/+1
| | | | | | Not all code has been fixed yet; this is just a checkpoint... The C API still has PyDict_HasKey() and _HasKeyString(); not sure if I want to change those just yet.
* Remove apply()Neal Norwitz2006-03-171-1/+1
|
* 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.