def archive(self):
timestr = time.strftime("%Y%m%d-%H%M%S")
archive_name = "{0}_{1}".format(self.work_dir, timestr)
shutil.make_archive(archive_name, "zip",
str(self.local_root_dir),
str(self.work_dir.name))