Lines Matching refs:path

82 pwd = os.path.normpath(sys.path[0])
96 dist_dir = os.path.normpath(os.path.join(pwd, os.pardir, "proto", "dist_" + arch))
97 build_dir = os.path.normpath(os.path.join(pwd, os.pardir, "proto", "build_" + arch))
101 root_dir = os.path.normpath(os.path.join(pwd, os.pardir, "proto", "root_" + arch))
102 pkgs_dir = os.path.normpath(os.path.join(pwd, os.pardir, "packages", arch))
103 extern_dir = os.path.normpath(os.path.join(pwd, "extern"))
104 cffi_dir = os.path.normpath(os.path.join(pwd, "cffi_src"))
378 web_files.append((os.path.join(resource_dir, web_dir), [
379 os.path.join(web_dir, f) for f in files
385 if os.path.basename(web_dir) == "en" and \
386 os.path.dirname(web_dir) in ("web", "web/_themes/oracle.com"):
387 web_files.append((os.path.join(resource_dir,
388 os.path.dirname(web_dir), "__LOCALE__"), [
389 os.path.join(web_dir, f) for f in files
447 web_files.append((os.path.join(resource_dir, "web"),
555 proto = os.path.join(root_dir, py_install_dir)
556 sys.path.insert(0, proto)
559 # Insert tests directory onto sys.path so any custom checkers
561 sys.path.insert(0, os.path.join(pwd, 'tests'))
562 # assumes pylint is accessible on the sys.path
576 args += ['--rcfile={0}'.format(os.path.join(
590 args += ['--rcfile={0}'.format(os.path.join(
596 args += [os.path.join(root, f)]
730 self.install_data = os.path.sep
733 self.install_lib = os.path.join(root_dir, py_install_dir)
753 if os.path.exists(dest) and \
771 os.path.join(d, dstname))
792 id_p = os.path.join(self.install_dir, p[prefix_len:])
811 if not os.path.isabs(dir):
812 dir = os.path.join(self.install_dir, dir)
823 outfile = os.path.join(dir,
824 os.path.basename(file))
829 if os.path.sep not in outfile:
830 outfile = os.path.join(dir,
938 podir = os.path.join(os.getcwd(), "po")
941 if os.path.exists("po/missing"):
957 if os.path.exists("po/notexist"):
982 podir = os.path.join(os.getcwd(), "po")
986 if not os.path.exists("po/pkg.pot"):
1134 dest_file = os.path.join(self.dest, os.path.basename(self.file))
1184 # the path at which the workspace lives, and not just on the interesting content
1207 output_dir = os.path.join(cwd, os.path.dirname(output_filename))
1208 output_filename = os.path.basename(output_filename)
1210 if not os.path.exists(output_dir):
1247 d, f = os.path.split(self.build_temp)
1251 os.path.basename(self.build_temp).replace("temp.", "")))
1266 path = _build_ext.get_ext_fullpath(self, ext_name)
1268 return path
1270 dpath, fpath = os.path.split(path)
1272 return os.path.join(dpath, "64", fpath)
1273 return os.path.join(dpath, fpath)
1291 ["/usr/bin/python2.7", os.path.join(pwd, "pydates")],
1295 stamp, path = line.split()
1297 self.timestamps[path] = stamp
1307 for path in os.listdir(cffi_dir):
1308 if not path.startswith("build_"):
1310 path = os.path.join(cffi_dir, path)
1312 os.chmod(path,
1313 os.stat(path).st_mode
1318 [sys.executable, path])
1381 os.path.join("src", infile), self.timestamps[b"."])
1405 def manpage_input_dir(path):
1406 """Convert a manpage output path to the directory where its source lives."""
1408 patharr = path.split("/")
1414 raise RuntimeError("bad manpage path")
1415 return os.path.join(patharr[0], loc).rstrip("/")
1431 os.path.join(input_dir, os.path.basename(f))
1433 if dep_util.newer(os.path.join(input_dir, os.path.basename(f)), f)
1438 output_dir = os.path.join(*files[0].split("/")[:-2])
1523 for path in os.listdir(cffi_dir):
1524 if not path.startswith("_"):
1526 path = os.path.join(cffi_dir, path)
1527 rm_f(path)
1578 os.chdir(os.path.join(pwd, "tests"))
1719 (os.path.join(locale_dir, locale, 'LC_MESSAGES'),
1725 (os.path.join(locale_dir, '__LOCALE__', 'LC_MESSAGES'),
1731 (os.path.join(MANPAGE_SRC_ROOT, os.path.basename(f))