Lines Matching refs:Ws
36 def convertPackagePath(cls, Ws, Path):
37 if str(os.path.normcase (Path)).startswith(Ws):
38 return os.path.join(Ws, os.path.relpath(Path, Ws))
50 def setWs(cls, Ws, PackagesPath=None):
51 cls.WORKSPACE = Ws
53 …cls.PACKAGES_PATH = [cls.convertPackagePath (Ws, os.path.normpath(Path.strip())) for Path in Packa…
67 def join(cls, Ws, *p):
68 Path = os.path.join(Ws, *p)
74 Path = os.path.join(Ws, *p)
87 def relpath(cls, Path, Ws):
92 if Path.lower().startswith(Ws.lower()):
93 Path = os.path.relpath(Path, Ws)
106 def getWs(cls, Ws, Path):
107 absPath = os.path.join(Ws, Path)
113 return Ws