]> granicus.if.org Git - python/commit
Bug #639118 from Ollie Oldham: archiver should use zipfile before zip
authorAndrew M. Kuchling <amk@amk.ca>
Thu, 21 Nov 2002 18:33:28 +0000 (18:33 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Thu, 21 Nov 2002 18:33:28 +0000 (18:33 +0000)
commitcdd215789c86f3cd729cf10c9d6fe6b3d5df5d7b
treedc91b61dbb88d5537ae6ad065e8ddbaeaaa3d1d6
parent3350b5bfd9be61b6567c60e15387a72ad0166564
Bug #639118 from Ollie Oldham: archiver should use zipfile before zip
        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.
Lib/distutils/archive_util.py