Lines Matching refs:make_archive
13 from shutil import (make_archive,
389 tarball = make_archive(rel_base_name, 'gztar', root_dir, '.')
402 tarball = make_archive(rel_base_name, 'tar', root_dir, '.')
438 tarball = make_archive(base_name, 'gztar', root_dir, base_dir)
454 tarball = make_archive(base_name, 'tar', root_dir, base_dir)
459 tarball = make_archive(base_name, 'tar', root_dir, base_dir,
478 res = make_archive(rel_base_name, 'zip', root_dir)
492 res = make_archive(rel_base_name, 'zip', root_dir, base_dir)
508 archive = make_archive(base_name, 'zip', root_dir, base_dir)
533 archive = make_archive(base_name, 'zip', root_dir, base_dir)
554 self.assertRaises(ValueError, make_archive, base_name, 'xxx')
568 res = make_archive(base_name, 'zip', root_dir, base_dir, owner=owner,
572 res = make_archive(base_name, 'zip', root_dir, base_dir)
575 res = make_archive(base_name, 'tar', root_dir, base_dir,
579 res = make_archive(base_name, 'tar', root_dir, base_dir,
591 archive_name = make_archive(base_name, 'gztar', root_dir, 'dist',
614 make_archive('xxx', 'xxx', root_dir=self.mkdtemp())
627 self.assertEqual(make_archive('test', 'tar'), 'test.tar')
639 self.assertEqual(make_archive('test', 'zip'), 'test.zip')