Definition at line 10 of file pkgdotter.py.
def pkgdotter.Faker.__init__ |
( |
|
self | ) |
|
Definition at line 11 of file pkgdotter.py.
14 for typ
in 'lib app test'.
split():
15 self.
deps[typ] = defaultdict(set)
void split(std::string const &s, char c, OutIter dest)
def pkgdotter.Faker.dot |
( |
|
self, |
|
|
|
typ |
|
) |
| |
Definition at line 38 of file pkgdotter.py.
41 'label="Wire Cell Package Dependencies for view: %s";' % typ.upper(),
47 for n,deps
in d.items():
49 edges.append(
'%s -> %s;' % (n, dep))
50 if not dep.startswith(
"WireCell"):
53 exts =
','.
join(list(exts))
54 preamble.append(
'{rank=same; %s}' % exts)
56 preamble =
'\n\t'.
join(preamble)
57 body =
'\n\t'.
join(edges)
58 return 'digraph %s {\n\t%s\n\t%s\n}\n' % (typ, preamble, body)
Proc * join(Pipeline &pipeline, Proc *src, Proc *dst)
def pkgdotter.Faker.register |
( |
|
self, |
|
|
|
typ, |
|
|
|
name, |
|
|
|
uselst |
|
) |
| |
Definition at line 17 of file pkgdotter.py.
19 uselst = uselst.split()
Coord add(Coord c1, Coord c2)
def register(self, typ, name, uselst)
def pkgdotter.Faker.smplpkg |
( |
|
self, |
|
|
|
name, |
|
|
|
use = '' , |
|
|
|
test_use = '' , |
|
|
|
app_use = '' |
|
) |
| |
Fake being the waf bld method of the same name. The 'use'
args can be litteral lists or space separated strings and hold
names of packages on which the 'name' pacakge depends.
Definition at line 24 of file pkgdotter.py.
24 def smplpkg(self, name, use='', test_use='', app_use=''):
26 Fake being the waf bld method of the same name. The 'use' 27 args can be litteral lists or space separated strings and hold 28 names of packages on which the 'name' pacakge depends. 36 self.
register(
'test', name, test_use)
def smplpkg(self, name, use='', test_use='', app_use='')
def register(self, typ, name, uselst)
The documentation for this class was generated from the following file: