Revision 27561 branches/v2_0_0_prep/build/buildman/bin/bmplugins/DepManPlugIn.py
DepManPlugIn.py | ||
---|---|---|
39 | 39 |
self._oscompiler="vs8" |
40 | 40 |
self._osdistribution,null,null,null,null = sys.getwindowsversion() |
41 | 41 |
|
42 |
self._getDepManPath = False |
|
43 |
|
|
42 | 44 |
def init(self): |
43 |
pass |
|
45 |
self.addGoal("depman", "depman information plugin") |
|
46 |
self.addGoalOption("depman","--depman-path", "returns depman path") |
|
47 |
isDepman = False |
|
48 |
if self._arguments.read("depman"): |
|
49 |
self.setExecute(True) |
|
50 |
isDepman = True |
|
44 | 51 |
|
52 |
if not isDepman: |
|
53 |
return |
|
54 |
|
|
55 |
if self._arguments.read("--depman-path"): |
|
56 |
self._getDepManPath = True |
|
57 |
|
|
45 | 58 |
def initFromXML(self,node): |
46 | 59 |
pass |
47 | 60 |
|
48 | 61 |
def execute(self): |
49 |
pass |
|
62 |
if self._getDepManPath: |
|
63 |
print self.getDepManPath() |
|
50 | 64 |
|
51 | 65 |
def getSupportedPlatforms(self): |
52 | 66 |
return self._supportedPlatforms |
Also available in: Unified diff