Home
last modified time | relevance | path

Searched refs:make_archive (Results 1 – 20 of 20) sorted by relevance

/third_party/python/Lib/distutils/tests/
Dtest_archive_util.py12 make_zipfile, make_archive,
287 self.assertRaises(ValueError, make_archive, base_name, 'xxx')
296 make_archive('xxx', 'xxx', root_dir=self.mkdtemp())
306 res = make_archive(base_name, 'tar', base_dir, 'dist')
315 res = make_archive(base_name, 'gztar', base_dir, 'dist')
324 res = make_archive(base_name, 'bztar', base_dir, 'dist')
333 res = make_archive(base_name, 'xztar', base_dir, 'dist')
350 res = make_archive(base_name, 'zip', root_dir, base_dir, owner=owner,
354 res = make_archive(base_name, 'zip', root_dir, base_dir)
357 res = make_archive(base_name, 'tar', root_dir, base_dir,
[all …]
/third_party/python/Lib/test/
Dtest_zipapp.py334 def make_archive(self): member in ZipAppCmdlineTest
355 original = self.make_archive()
363 original = self.make_archive()
373 original = self.make_archive()
384 target = self.make_archive()
Dtest_shutil.py19 from shutil import (make_archive,
1321 tarball = make_archive(rel_base_name, 'gztar', root_dir, '.')
1334 tarball = make_archive(rel_base_name, 'tar', root_dir, '.')
1369 tarball = make_archive(base_name, 'gztar', root_dir, base_dir)
1386 tarball = make_archive(base_name, 'tar', root_dir, base_dir)
1391 tarball = make_archive(base_name, 'tar', root_dir, base_dir,
1410 res = make_archive(rel_base_name, 'zip', root_dir)
1423 res = make_archive(rel_base_name, 'zip', root_dir, base_dir)
1439 archive = make_archive(base_name, 'zip', root_dir, base_dir)
1465 archive = make_archive(base_name, 'zip', root_dir, base_dir)
[all …]
/third_party/python/Lib/distutils/
Dcmd.py367 def make_archive(self, base_name, format, root_dir=None, base_dir=None, member in Command
369 return archive_util.make_archive(base_name, format, root_dir, base_dir,
Darchive_util.py206 def make_archive(base_name, format, root_dir=None, base_dir=None, verbose=0, function
/third_party/python/Lib/distutils/command/
Dbdist_dumb.py112 filename = self.make_archive(pseudoinstall_root,
Dsdist.py480 file = self.make_archive(base_name, fmt, base_dir=base_dir,
/third_party/python/Doc/library/
Dshutil.rst563 .. function:: make_archive(base_name, format, [root_dir, [base_dir, [verbose, [dry_run, [owner, [gr…
596 .. audit-event:: shutil.make_archive base_name,format,root_dir,base_dir shutil.make_archive
632 *dry_run* and *logger* (as passed in :func:`make_archive`).
715 >>> from shutil import make_archive
719 >>> make_archive(archive_name, 'gztar', root_dir)
743 we show how to use :func:`make_archive`, but this time with the usage of
759 >>> from shutil import make_archive
762 >>> make_archive(
/third_party/python/Misc/NEWS.d/
D3.6.0b3.rst195 shutil.make_archive() no longer adds entry "./" to ZIP archive.
D3.10.0rc1.rst487 Clarify that :func:`shutil.make_archive` is not thread-safe due to reliance
D3.5.1rc1.rst735 shutil.make_archive() with the "zip" format now adds entries for directories
D3.5.3rc1.rst676 shutil.make_archive() no longer add entry "./" to ZIP archive.
D3.7.0a1.rst4100 shutil.make_archive() no longer adds entry "./" to ZIP archive.
/third_party/python/Lib/
Dshutil.py1039 def make_archive(base_name, format, root_dir=None, base_dir=None, verbose=0, function
/third_party/python/Doc/whatsnew/
D3.2.rst1556 The principal functions are :func:`~shutil.make_archive` and
1567 >>> f = shutil.make_archive('/var/backup/mydata',
D3.5.rst1647 The :func:`~shutil.make_archive` function now supports the *xztar* format.
D3.8.rst1155 :func:`shutil.make_archive` now defaults to the modern pax (POSIX.1-2001)
D2.7.rst1476 * New function: in the :mod:`shutil` module, :func:`~shutil.make_archive`
/third_party/python/Doc/distutils/
Dapiref.rst887 .. function:: make_archive(base_name, format[, root_dir=None, base_dir=None, verbose=0, dry_run=0])
/third_party/python/Misc/
DHISTORY394 - Issue #24982: shutil.make_archive() with the "zip" format now adds entries
15394 - Issue #7066: archive_util.make_archive now restores the cwd if an error is