Lines Matching refs:make_archive
15 from shutil import (make_archive,
970 tarball = make_archive(rel_base_name, 'gztar', root_dir, '.')
983 tarball = make_archive(rel_base_name, 'tar', root_dir, '.')
1018 tarball = make_archive(base_name, 'gztar', root_dir, base_dir)
1035 tarball = make_archive(base_name, 'tar', root_dir, base_dir)
1040 tarball = make_archive(base_name, 'tar', root_dir, base_dir,
1059 res = make_archive(rel_base_name, 'zip', root_dir)
1072 res = make_archive(rel_base_name, 'zip', root_dir, base_dir)
1088 archive = make_archive(base_name, 'zip', root_dir, base_dir)
1114 archive = make_archive(base_name, 'zip', root_dir, base_dir)
1135 self.assertRaises(ValueError, make_archive, base_name, 'xxx')
1149 res = make_archive(base_name, 'zip', root_dir, base_dir, owner=owner,
1153 res = make_archive(base_name, 'zip', root_dir, base_dir)
1156 res = make_archive(base_name, 'tar', root_dir, base_dir,
1160 res = make_archive(base_name, 'tar', root_dir, base_dir,
1173 archive_name = make_archive(base_name, 'gztar', root_dir, 'dist',
1196 make_archive('xxx', 'xxx', root_dir=self.mkdtemp())
1207 self.assertEqual(make_archive('test', 'tar'), 'test.tar')
1215 self.assertEqual(make_archive('test', 'zip'), 'test.zip')
1245 filename = make_archive(base_name, format, root_dir, base_dir)