コード例 #1
0
 def __init__(self, rootManifest, baseDir=".."):
     self._rootManifest = rootManifest
     self._baseDir = baseDir
     self._avoidParadox = avoidparadox.AvoidParadox()
     self._traverse = traverse.Traverse(baseDir)
     self._dirtyParadoxResolution = dirtyparadoxresolution.DirtyParadoxResolution(
     )
     self._fulfill(rootManifest)
コード例 #2
0
 def __init__(self, baseDir="..", gitClean=False):
     self._baseDir = baseDir
     self._gitClean = gitClean
     self._basenames = set()
     self._avoidParadox = avoidparadox.AvoidParadox()
     self._traverse = traverse.Traverse(baseDir)
     self._graph = graph.Graph()
     self._dirtyParadoxResolution = dirtyparadoxresolution.DirtyParadoxResolution(
     )
コード例 #3
0
 def __init__(self, baseDir="..", gitClean=False):
     self._baseDir = baseDir
     self._gitClean = gitClean
     self._basenames = set()
     self._avoidParadox = avoidparadox.AvoidParadox()
     self._traverse = traverse.Traverse(baseDir)
     self._graph = graph.Graph()
     self._dirtyParadoxResolution = dirtyparadoxresolution.DirtyParadoxResolution(
     )
     self._sulliedExcludeDirectoriesPattern = re.compile(r'.*(@tmp){1}')
コード例 #4
0
 def __init__(self):
     self._found = []
     self._projectDir = None
     self._baseDir = None
     self._findManifestFile()
     if self._projectDir is None:
         return
     self._traverse = traverse.Traverse(self._baseDir)
     mani = manifest.Manifest.fromDir(self._projectDir)
     for dependency in self._traverse.traverse(mani):
         self._lookInProjectDir(dependency.projectDir)
コード例 #5
0
 def __init__(self, invokingModulePath, invokingModuleName):
     self._lookingFor = os.path.join(*(invokingModuleName.split('.') +
                                       ['__init__.py']))
     self._found = []
     self._projectDir = None
     self._baseDir = None
     self._findManifestFile(invokingModulePath)
     if self._projectDir is None:
         return
     self._traverse = traverse.Traverse(self._baseDir)
     mani = manifest.Manifest.fromDir(self._projectDir)
     for dependency in self._traverse.traverse(mani):
         self._lookInProjectDir(dependency.projectDir)
コード例 #6
0
 def __init__(self, baseDir=".."):
     self._traverse = traverse.Traverse(baseDir=baseDir)
     self._visitedProjectDirs = set()
コード例 #7
0
 def __init__(self, rootManifest, baseDir=".."):
     self._rootManifest = rootManifest
     self._baseDir = baseDir
     self._avoidParadox = avoidparadox.AvoidParadox()
     self._traverse = traverse.Traverse(baseDir)
     self._fulfill(rootManifest)
コード例 #8
0
 def __init__(self, baseDir=".."):
     self._traverse = traverse.Traverse(baseDir)