Lines Matching defs:path
27 import os.path
50 def __init__(self, action, path, pkg_vars, proto_dir):
53 self.manifest = path
55 if isinstance(path, six.string_types):
56 base_names = [os.path.basename(path)]
57 paths = [os.path.dirname(path)]
59 elif isinstance(path, tuple):
68 for p in path]
71 "tuple must be specified for 'path'.")
109 manifest_paths.append(os.path.join("/", location))
112 manifest_paths.append(os.path.join(proto_dir,
118 manifest_file = os.path.join(
245 if not has_smf_manifest_dir(action.attrs["path"]):
347 # we don't include SMF path dependencies as these are often
377 found in that manifest to the path of the manifest file. The second maps
385 Calling this with a path to the file, we include manifest_paths in the
488 def has_smf_manifest_dir(path, prefix=None):
489 """Determine if the given path string contains any of the directories
491 prefix gets stripped from the path before checking.
494 check_path = path
496 check_path = path.replace(prefix, "", 1)