def _make_archive(self, dir_name):
"""Make archive of the specified directory near that directory.
"""
return shutil.make_archive(dir_name,
root_dir=dir_name,
base_dir=None,
format=self.get_archive_format())