Lines Matching refs:make_archive
19 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)
1486 self.assertRaises(ValueError, make_archive, base_name, 'xxx')
1500 res = make_archive(base_name, 'zip', root_dir, base_dir, owner=owner,
1504 res = make_archive(base_name, 'zip', root_dir, base_dir)
1507 res = make_archive(base_name, 'tar', root_dir, base_dir,
1511 res = make_archive(base_name, 'tar', root_dir, base_dir,
1524 archive_name = make_archive(base_name, 'gztar', root_dir, 'dist',
1547 make_archive('xxx', 'xxx', root_dir=self.mkdtemp())
1558 self.assertEqual(make_archive('test', 'tar'), 'test.tar')
1566 self.assertEqual(make_archive('test', 'zip'), 'test.zip')
1598 filename = make_archive(base_name, format, root_dir, base_dir)