Lines Matching full:path
30 if not os.path.isdir(target_dir):
37 filepath = os.path.join(r, filename)
39 zi.filename = os.path.relpath(filepath, target_dir)
41 # Dumb path separator replacement for Windows.
46 if os.path.islink(filepath):
57 dirpath = os.path.join(r, dirname)
58 z.write(dirpath, os.path.relpath(dirpath, target_dir))
63 if not os.path.isdir(target_dir):
69 # Dumb path separator replacement for Windows.
71 dst_path = os.path.join(target_dir, dst_subpath)
72 if dst_path.endswith(os.path.sep):