Lines Matching refs:path
149 self.index_fp = open(os.path.join(self.output_dir, 'main.py'), 'w')
151 os.path.walk(self.base_path, self.CompressDirectory, 1)
170 archive_path = os.path.join(self.output_dir, self.current_archive)
173 root, ext = os.path.splitext(archive_path)
195 def OpenZipFileAtPath(self, path, mode=None, compress=zipfile.ZIP_DEFLATED): argument
198 if os.path.exists(path):
204 return zipfile.ZipFile(path, mode)
206 return zipfile.ZipFile(path, mode, compress)
228 zip_queue.append(os.path.join(dir_path, filename))
237 if os.path.isfile(target_file):
269 os.path.join(self.output_dir, self.current_archive), 'r')
291 archive_path = os.path.join(self.output_dir, self.current_archive)
310 os.path.join(self.output_dir, self.current_archive))
312 self.current_archive, os.path.getsize(archive_path))
328 curr_archive_path = os.path.join(self.output_dir, self.current_archive)
329 if os.path.isfile(filepath) and not os.path.islink(filepath):
330 if os.path.getsize(filepath) > 1048576:
350 archive_path = os.path.join(self.output_dir, self.current_archive)
351 return os.path.getsize(archive_path) <= self.max_size