Lines Matching refs:path
67 os.path.realpath(args.directory),
86 exclude_dirs = [ os.path.join(directory, d) for d in _EXCLUDE_DIRS ]
96 yield os.path.join(dirpath, filename)
99 def to_cmdfile(path): argument
108 dir, base = os.path.split(path)
109 return os.path.join(dir, '.' + base + '.cmd')
142 base, ext = os.path.splitext(obj)
176 abs_path = os.path.realpath(os.path.join(root_directory, file_path))
177 if not os.path.exists(abs_path):
197 for path in paths:
202 if os.path.isdir(path):
203 cmdfiles = cmdfiles_in_dir(path)
204 elif path.endswith('.a'):
205 cmdfiles = cmdfiles_for_a(path, ar)
206 elif path.endswith('modules.order'):
207 cmdfiles = cmdfiles_for_modorder(path)
209 sys.exit('{}: unknown file type'.format(path))