Lines Matching refs:make_archive
19 from shutil import (make_archive,
1263 tarball = make_archive(rel_base_name, 'gztar', root_dir, '.')
1276 tarball = make_archive(rel_base_name, 'tar', root_dir, '.')
1311 tarball = make_archive(base_name, 'gztar', root_dir, base_dir)
1328 tarball = make_archive(base_name, 'tar', root_dir, base_dir)
1333 tarball = make_archive(base_name, 'tar', root_dir, base_dir,
1352 res = make_archive(rel_base_name, 'zip', root_dir)
1365 res = make_archive(rel_base_name, 'zip', root_dir, base_dir)
1381 archive = make_archive(base_name, 'zip', root_dir, base_dir)
1407 archive = make_archive(base_name, 'zip', root_dir, base_dir)
1428 self.assertRaises(ValueError, make_archive, base_name, 'xxx')
1442 res = make_archive(base_name, 'zip', root_dir, base_dir, owner=owner,
1446 res = make_archive(base_name, 'zip', root_dir, base_dir)
1449 res = make_archive(base_name, 'tar', root_dir, base_dir,
1453 res = make_archive(base_name, 'tar', root_dir, base_dir,
1466 archive_name = make_archive(base_name, 'gztar', root_dir, 'dist',
1489 make_archive('xxx', 'xxx', root_dir=self.mkdtemp())
1500 self.assertEqual(make_archive('test', 'tar'), 'test.tar')
1508 self.assertEqual(make_archive('test', 'zip'), 'test.zip')
1540 filename = make_archive(base_name, format, root_dir, base_dir)