Lines Matching refs:path
7 Without arguments, it compiles all modules on sys.path, without
40 fullname = os.path.join(dir, name)
41 if not os.path.isdir(fullname):
44 os.path.isdir(fullname) and not os.path.islink(fullname)):
58 ddir: the directory that will be prepended to the path to the
69 stripdir: part of path to left-strip from source file path
70 prependdir: path to prepend to beginning of original file path, applied
73 the defined path
144 stripdir: part of path to left-strip from source file path
145 prependdir: path to prepend to beginning of original file path, applied
148 the defined path.
159 name = os.path.basename(fullname)
164 dfile = os.path.join(ddir, name)
167 fullname_parts = fullname.split(os.path.sep)
168 stripdir_parts = stripdir.split(os.path.sep)
175 dfile = os.path.join(*ddir_parts)
179 dfile = os.path.join(prependdir, fullname)
181 dfile = os.path.join(prependdir, dfile)
199 if limit_sl_dest is not None and os.path.islink(fullname):
205 if os.path.isfile(fullname):
277 """Byte-compile all module on sys.path.
290 for dir in sys.path:
335 help=('part of path to left-strip from path '
341 help=('path to add as prefix to path '
349 'the regexp is searched for in the full path '
358 'to the equivalent of -l sys.path'))
428 if os.path.isfile(dest):