Lines Matching refs:target_path
56 target_path = abspath(install_path, dst, os.path.basename(path))
58 target_path = abspath(install_path, dst)
59 return path, target_path
62 source_path, target_path = mkpaths(path, dst)
63 print('installing %s' % target_path)
64 try_mkdir_r(os.path.dirname(target_path))
65 try_unlink(target_path) # prevent ETXTBSY errors
66 return shutil.copy2(source_path, target_path)
69 source_path, target_path = mkpaths(path, dst)
70 print('removing %s' % target_path)
71 try_unlink(target_path)
72 try_rmdir_r(os.path.dirname(target_path))
83 target_path = 'lib/node_modules/' + name + '/'
87 if os.path.islink(abspath(install_path, target_path)): return
95 action(paths, target_path + dirname[len(root) + 1:] + '/')