Lines Matching refs:path
463 if os.path.isdir(os.path.join("build", "lib.%s" % PLAT_SPEC)):
477 sys.path.insert(0, os.path.join(self.cwd, self.libdir))
482 extra = os.path.join(self.org_cwd, libdir)
485 sys.path.insert(0, extra)
494 config_file = os.path.join('..', 'ftesting.zcml')
520 if os.path.split(dir)[1] != self.dirname:
524 path = os.path.join(dir, modfname)
525 if match(rx, path):
526 self.files.append(path)
540 if file.startswith('test') and os.path.splitext(file)[-1] == '.py':
541 path = os.path.join(dir, file)
542 if match(rx, path):
543 matches.append(path)
559 def module_from_path(self, path): argument
561 assert path.endswith(".py")
562 path = path[self._plen:-3]
563 mod = path.replace(os.sep, ".")
580 name = os.path.join(top, name)
581 if os.path.isdir(name):
585 if os.path.exists(dir):
587 d = os.path.join(pathinit.libdir, dir)
588 if os.path.exists(d):
589 if os.path.isdir(d):
660 utildir = os.path.join(os.getcwd(), "utilities")
662 utildir = os.path.join(os.getcwd(), "..", "utilities")
663 sys.path.append(utildir)
744 names = map(os.path.normcase, names)
749 fullname = os.path.join(dirname, name)
755 os.path.walk(os.curdir, remove_stale_bytecode, None)
797 logini = os.path.abspath("log.ini")
799 if os.path.exists(logini):
867 if os.path.isfile(config_filename):
1065 coverdir = os.path.join(os.getcwd(), "coverage")
1075 path = "/tmp/trace.%s" % os.getpid()
1077 f = open(path, "wb")
1080 print path
1089 print sys.path