Lines Matching refs:path
69 os.path.realpath(args.directory),
88 exclude_dirs = [ os.path.join(directory, d) for d in _EXCLUDE_DIRS ]
98 yield os.path.join(dirpath, filename)
101 def to_cmdfile(path): argument
110 dir, base = os.path.split(path)
111 return os.path.join(dir, '.' + base + '.cmd')
144 base, ext = os.path.splitext(obj)
178 abs_path = os.path.realpath(os.path.join(root_directory, file_path))
179 if not os.path.exists(abs_path):
199 for path in paths:
204 if os.path.isdir(path):
205 cmdfiles = cmdfiles_in_dir(path)
206 elif path.endswith('.a'):
207 cmdfiles = cmdfiles_for_a(path, ar)
208 elif path.endswith('modules.order'):
209 cmdfiles = cmdfiles_for_modorder(path)
211 sys.exit('{}: unknown file type'.format(path))