|
1 <?xml version="1.0" encoding="ascii"?> |
|
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
|
3 "DTD/xhtml1-transitional.dtd"> |
|
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
|
5 <head> |
|
6 <title>dependancygraph</title> |
|
7 <link rel="stylesheet" href="epydoc.css" type="text/css" /> |
|
8 <script type="text/javascript" src="epydoc.js"></script> |
|
9 </head> |
|
10 |
|
11 <body bgcolor="white" text="black" link="blue" vlink="#204080" |
|
12 alink="#204080"> |
|
13 <!-- ==================== NAVIGATION BAR ==================== --> |
|
14 <table class="navbar" border="0" width="100%" cellpadding="0" |
|
15 bgcolor="#a0c0ff" cellspacing="0"> |
|
16 <tr valign="middle"> |
|
17 |
|
18 <!-- Tree link --> |
|
19 <th> <a |
|
20 href="module-tree.html">Trees</a> </th> |
|
21 |
|
22 <!-- Index link --> |
|
23 <th> <a |
|
24 href="identifier-index.html">Indices</a> </th> |
|
25 |
|
26 <!-- Help link --> |
|
27 <th> <a |
|
28 href="help.html">Help</a> </th> |
|
29 |
|
30 <th class="navbar" width="100%"></th> |
|
31 </tr> |
|
32 </table> |
|
33 <table width="100%" cellpadding="0" cellspacing="0"> |
|
34 <tr valign="top"> |
|
35 <td width="100%"> |
|
36 <span class="breadcrumbs"> |
|
37 Module dependancygraph |
|
38 </span> |
|
39 </td> |
|
40 <td> |
|
41 <table cellpadding="0" cellspacing="0"> |
|
42 <!-- hide/show private --> |
|
43 <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink" |
|
44 onclick="toggle_private();">hide private</a>]</span></td></tr> |
|
45 <tr><td align="right"><span class="options" |
|
46 >[<a href="frames.html" target="_top">frames</a |
|
47 >] | <a href="dependancygraph-pysrc.html" |
|
48 target="_top">no frames</a>]</span></td></tr> |
|
49 </table> |
|
50 </td> |
|
51 </tr> |
|
52 </table> |
|
53 <h1 class="epydoc">Source Code for <a href="dependancygraph-module.html">Module dependancygraph</a></h1> |
|
54 <pre class="py-src"> |
|
55 <a name="L1"></a><tt class="py-lineno"> 1</tt> <tt class="py-line"><tt class="py-comment">#============================================================================ </tt> </tt> |
|
56 <a name="L2"></a><tt class="py-lineno"> 2</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#Name : dependancygraph.py</tt> </tt> |
|
57 <a name="L3"></a><tt class="py-lineno"> 3</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#Part of : Helium </tt> </tt> |
|
58 <a name="L4"></a><tt class="py-lineno"> 4</tt> <tt class="py-line"><tt class="py-comment"></tt> </tt> |
|
59 <a name="L5"></a><tt class="py-lineno"> 5</tt> <tt class="py-line"><tt class="py-comment">#Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).</tt> </tt> |
|
60 <a name="L6"></a><tt class="py-lineno"> 6</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#All rights reserved.</tt> </tt> |
|
61 <a name="L7"></a><tt class="py-lineno"> 7</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#This component and the accompanying materials are made available</tt> </tt> |
|
62 <a name="L8"></a><tt class="py-lineno"> 8</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#under the terms of the License "Eclipse Public License v1.0"</tt> </tt> |
|
63 <a name="L9"></a><tt class="py-lineno"> 9</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#which accompanies this distribution, and is available</tt> </tt> |
|
64 <a name="L10"></a><tt class="py-lineno"> 10</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#at the URL "http://www.eclipse.org/legal/epl-v10.html".</tt> </tt> |
|
65 <a name="L11"></a><tt class="py-lineno"> 11</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#</tt> </tt> |
|
66 <a name="L12"></a><tt class="py-lineno"> 12</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#Initial Contributors:</tt> </tt> |
|
67 <a name="L13"></a><tt class="py-lineno"> 13</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#Nokia Corporation - initial contribution.</tt> </tt> |
|
68 <a name="L14"></a><tt class="py-lineno"> 14</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#</tt> </tt> |
|
69 <a name="L15"></a><tt class="py-lineno"> 15</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#Contributors:</tt> </tt> |
|
70 <a name="L16"></a><tt class="py-lineno"> 16</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#</tt> </tt> |
|
71 <a name="L17"></a><tt class="py-lineno"> 17</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#Description:</tt> </tt> |
|
72 <a name="L18"></a><tt class="py-lineno"> 18</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#===============================================================================</tt> </tt> |
|
73 <a name="L19"></a><tt class="py-lineno"> 19</tt> <tt class="py-line"><tt class="py-comment"></tt> </tt> |
|
74 <a name="L20"></a><tt class="py-lineno"> 20</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">os</tt> </tt> |
|
75 <a name="L21"></a><tt class="py-lineno"> 21</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">amara</tt> </tt> |
|
76 <a name="L22"></a><tt class="py-lineno"> 22</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">codecs</tt> </tt> |
|
77 <a name="L23"></a><tt class="py-lineno"> 23</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">zipfile</tt> </tt> |
|
78 <a name="L24"></a><tt class="py-lineno"> 24</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt class="py-name">Ft</tt><tt class="py-op">.</tt><tt class="py-name">Lib</tt> <tt class="py-keyword">import</tt> <tt class="py-name">Uri</tt> </tt> |
|
79 <a name="L25"></a><tt class="py-lineno"> 25</tt> <tt class="py-line"> </tt> |
|
80 <a name="Library"></a><div id="Library-def"><a name="L26"></a><tt class="py-lineno"> 26</tt> <a class="py-toggle" href="#" id="Library-toggle" onclick="return toggle('Library');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="dependancygraph.Library-class.html">Library</a><tt class="py-op">:</tt> </tt> |
|
81 </div><div id="Library-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="Library-expanded"><a name="Library.__init__"></a><div id="Library.__init__-def"><a name="L27"></a><tt class="py-lineno"> 27</tt> <a class="py-toggle" href="#" id="Library.__init__-toggle" onclick="return toggle('Library.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="dependancygraph.Library-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">name</tt><tt class="py-op">,</tt> <tt class="py-param">license</tt><tt class="py-op">,</tt> <tt class="py-param">version</tt><tt class="py-op">=</tt><tt class="py-string">''</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
82 </div><div id="Library.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Library.__init__-expanded"><a name="L28"></a><tt class="py-lineno"> 28</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-0" class="py-name" targets="Method buildtools.Command.name()=buildtools.Command-class.html#name,Method ccm.FourPartName.name()=ccm.FourPartName-class.html#name,Method symrec.ServicePack.name()=symrec.ServicePack-class.html#name,Method sysdef.api.Configuration.name()=sysdef.api.Configuration-class.html#name,Method sysdef.api.Option.name()=sysdef.api.Option-class.html#name,Method sysdef.api.SpecialInstruction.name()=sysdef.api.SpecialInstruction-class.html#name,Method sysdef.api.Target.name()=sysdef.api.Target-class.html#name,Method sysdef.api.TargetList.name()=sysdef.api.TargetList-class.html#name,Method sysdef.api.Unit.name()=sysdef.api.Unit-class.html#name,Method sysdef.api._UnitGroup.name()=sysdef.api._UnitGroup-class.html#name"><a title="buildtools.Command.name |
|
83 ccm.FourPartName.name |
|
84 symrec.ServicePack.name |
|
85 sysdef.api.Configuration.name |
|
86 sysdef.api.Option.name |
|
87 sysdef.api.SpecialInstruction.name |
|
88 sysdef.api.Target.name |
|
89 sysdef.api.TargetList.name |
|
90 sysdef.api.Unit.name |
|
91 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-0', 'name', 'link-0');">name</a></tt> <tt class="py-op">=</tt> <tt id="link-1" class="py-name"><a title="buildtools.Command.name |
|
92 ccm.FourPartName.name |
|
93 symrec.ServicePack.name |
|
94 sysdef.api.Configuration.name |
|
95 sysdef.api.Option.name |
|
96 sysdef.api.SpecialInstruction.name |
|
97 sysdef.api.Target.name |
|
98 sysdef.api.TargetList.name |
|
99 sysdef.api.Unit.name |
|
100 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-1', 'name', 'link-0');">name</a></tt> </tt> |
|
101 <a name="L29"></a><tt class="py-lineno"> 29</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">license</tt> <tt class="py-op">=</tt> <tt class="py-name">license</tt> </tt> |
|
102 <a name="L30"></a><tt class="py-lineno"> 30</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-2" class="py-name" targets="Method ccm.FourPartName.version()=ccm.FourPartName-class.html#version,Module version=version-module.html"><a title="ccm.FourPartName.version |
|
103 version" class="py-name" href="#" onclick="return doclink('link-2', 'version', 'link-2');">version</a></tt> <tt class="py-op">=</tt> <tt id="link-3" class="py-name"><a title="ccm.FourPartName.version |
|
104 version" class="py-name" href="#" onclick="return doclink('link-3', 'version', 'link-2');">version</a></tt> </tt> |
|
105 <a name="L31"></a><tt class="py-lineno"> 31</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">requires</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt> |
|
106 </div></div><a name="L32"></a><tt class="py-lineno"> 32</tt> <tt class="py-line"> </tt> |
|
107 <a name="ModuleGroup"></a><div id="ModuleGroup-def"><a name="L33"></a><tt class="py-lineno"> 33</tt> <a class="py-toggle" href="#" id="ModuleGroup-toggle" onclick="return toggle('ModuleGroup');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="dependancygraph.ModuleGroup-class.html">ModuleGroup</a><tt class="py-op">:</tt> </tt> |
|
108 </div><div id="ModuleGroup-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="ModuleGroup-expanded"><a name="ModuleGroup.__init__"></a><div id="ModuleGroup.__init__-def"><a name="L34"></a><tt class="py-lineno"> 34</tt> <a class="py-toggle" href="#" id="ModuleGroup.__init__-toggle" onclick="return toggle('ModuleGroup.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="dependancygraph.ModuleGroup-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
109 </div><div id="ModuleGroup.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="ModuleGroup.__init__-expanded"><a name="L35"></a><tt class="py-lineno"> 35</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">libraries</tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt> </tt> |
|
110 </div><a name="ModuleGroup.addConf"></a><div id="ModuleGroup.addConf-def"><a name="L36"></a><tt class="py-lineno"> 36</tt> <a class="py-toggle" href="#" id="ModuleGroup.addConf-toggle" onclick="return toggle('ModuleGroup.addConf');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="dependancygraph.ModuleGroup-class.html#addConf">addConf</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">name</tt><tt class="py-op">,</tt> <tt class="py-param">des</tt><tt class="py-op">,</tt> <tt class="py-param">color</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
111 </div><div id="ModuleGroup.addConf-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="ModuleGroup.addConf-expanded"><a name="L37"></a><tt class="py-lineno"> 37</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">libraries</tt><tt class="py-op">[</tt><tt id="link-4" class="py-name"><a title="buildtools.Command.name |
|
112 ccm.FourPartName.name |
|
113 symrec.ServicePack.name |
|
114 sysdef.api.Configuration.name |
|
115 sysdef.api.Option.name |
|
116 sysdef.api.SpecialInstruction.name |
|
117 sysdef.api.Target.name |
|
118 sysdef.api.TargetList.name |
|
119 sysdef.api.Unit.name |
|
120 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-4', 'name', 'link-0');">name</a></tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-name">des</tt><tt class="py-op">,</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> <tt class="py-name">color</tt><tt class="py-op">)</tt> </tt> |
|
121 </div><a name="ModuleGroup.addLibrary"></a><div id="ModuleGroup.addLibrary-def"><a name="L38"></a><tt class="py-lineno"> 38</tt> <a class="py-toggle" href="#" id="ModuleGroup.addLibrary-toggle" onclick="return toggle('ModuleGroup.addLibrary');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="dependancygraph.ModuleGroup-class.html#addLibrary">addLibrary</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">conf</tt><tt class="py-op">,</tt> <tt class="py-param">library</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
122 </div><div id="ModuleGroup.addLibrary-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="ModuleGroup.addLibrary-expanded"><a name="L39"></a><tt class="py-lineno"> 39</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">lib</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-5" class="py-name" targets="Method dependancygraph.ModuleGroup.getLibraries()=dependancygraph.ModuleGroup-class.html#getLibraries"><a title="dependancygraph.ModuleGroup.getLibraries" class="py-name" href="#" onclick="return doclink('link-5', 'getLibraries', 'link-5');">getLibraries</a></tt><tt class="py-op">(</tt><tt class="py-name">conf</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
123 <a name="L40"></a><tt class="py-lineno"> 40</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">lib</tt><tt class="py-op">.</tt><tt id="link-6" class="py-name"><a title="buildtools.Command.name |
|
124 ccm.FourPartName.name |
|
125 symrec.ServicePack.name |
|
126 sysdef.api.Configuration.name |
|
127 sysdef.api.Option.name |
|
128 sysdef.api.SpecialInstruction.name |
|
129 sysdef.api.Target.name |
|
130 sysdef.api.TargetList.name |
|
131 sysdef.api.Unit.name |
|
132 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-6', 'name', 'link-0');">name</a></tt><tt class="py-op">.</tt><tt class="py-name">lower</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> <tt class="py-op">==</tt> <tt class="py-name">library</tt><tt class="py-op">.</tt><tt id="link-7" class="py-name"><a title="buildtools.Command.name |
|
133 ccm.FourPartName.name |
|
134 symrec.ServicePack.name |
|
135 sysdef.api.Configuration.name |
|
136 sysdef.api.Option.name |
|
137 sysdef.api.SpecialInstruction.name |
|
138 sysdef.api.Target.name |
|
139 sysdef.api.TargetList.name |
|
140 sysdef.api.Unit.name |
|
141 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-7', 'name', 'link-0');">name</a></tt><tt class="py-op">.</tt><tt class="py-name">lower</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
142 <a name="L41"></a><tt class="py-lineno"> 41</tt> <tt class="py-line"> <tt class="py-name">lib</tt><tt class="py-op">.</tt><tt class="py-name">license</tt> <tt class="py-op">=</tt> <tt class="py-name">library</tt><tt class="py-op">.</tt><tt class="py-name">license</tt> </tt> |
|
143 <a name="L42"></a><tt class="py-lineno"> 42</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> </tt> |
|
144 <a name="L43"></a><tt class="py-lineno"> 43</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-8" class="py-name"><a title="dependancygraph.ModuleGroup.getLibraries" class="py-name" href="#" onclick="return doclink('link-8', 'getLibraries', 'link-5');">getLibraries</a></tt><tt class="py-op">(</tt><tt class="py-name">conf</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt id="link-9" class="py-name" targets="Method ccm.Folder.append()=ccm.Folder-class.html#append,Method ccm.Task.append()=ccm.Task-class.html#append"><a title="ccm.Folder.append |
|
145 ccm.Task.append" class="py-name" href="#" onclick="return doclink('link-9', 'append', 'link-9');">append</a></tt><tt class="py-op">(</tt><tt class="py-name">library</tt><tt class="py-op">)</tt> </tt> |
|
146 </div><a name="ModuleGroup.getLibraries"></a><div id="ModuleGroup.getLibraries-def"><a name="L44"></a><tt class="py-lineno"> 44</tt> <a class="py-toggle" href="#" id="ModuleGroup.getLibraries-toggle" onclick="return toggle('ModuleGroup.getLibraries');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="dependancygraph.ModuleGroup-class.html#getLibraries">getLibraries</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">conf</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
147 </div><div id="ModuleGroup.getLibraries-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="ModuleGroup.getLibraries-expanded"><a name="L45"></a><tt class="py-lineno"> 45</tt> <tt class="py-line"> <tt class="py-op">(</tt><tt class="py-name">_</tt><tt class="py-op">,</tt> <tt class="py-name">libs</tt><tt class="py-op">,</tt> <tt class="py-name">_</tt><tt class="py-op">)</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">libraries</tt><tt class="py-op">[</tt><tt class="py-name">conf</tt><tt class="py-op">]</tt> </tt> |
|
148 <a name="L46"></a><tt class="py-lineno"> 46</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">libs</tt> </tt> |
|
149 </div><a name="ModuleGroup.getDescription"></a><div id="ModuleGroup.getDescription-def"><a name="L47"></a><tt class="py-lineno"> 47</tt> <a class="py-toggle" href="#" id="ModuleGroup.getDescription-toggle" onclick="return toggle('ModuleGroup.getDescription');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="dependancygraph.ModuleGroup-class.html#getDescription">getDescription</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">conf</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
150 </div><div id="ModuleGroup.getDescription-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="ModuleGroup.getDescription-expanded"><a name="L48"></a><tt class="py-lineno"> 48</tt> <tt class="py-line"> <tt class="py-op">(</tt><tt class="py-name">des</tt><tt class="py-op">,</tt> <tt class="py-name">_</tt><tt class="py-op">,</tt> <tt class="py-name">_</tt><tt class="py-op">)</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">libraries</tt><tt class="py-op">[</tt><tt class="py-name">conf</tt><tt class="py-op">]</tt> </tt> |
|
151 <a name="L49"></a><tt class="py-lineno"> 49</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">des</tt> </tt> |
|
152 </div><a name="ModuleGroup.getColor"></a><div id="ModuleGroup.getColor-def"><a name="L50"></a><tt class="py-lineno"> 50</tt> <a class="py-toggle" href="#" id="ModuleGroup.getColor-toggle" onclick="return toggle('ModuleGroup.getColor');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="dependancygraph.ModuleGroup-class.html#getColor">getColor</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">conf</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
153 </div><div id="ModuleGroup.getColor-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="ModuleGroup.getColor-expanded"><a name="L51"></a><tt class="py-lineno"> 51</tt> <tt class="py-line"> <tt class="py-op">(</tt><tt class="py-name">_</tt><tt class="py-op">,</tt> <tt class="py-name">_</tt><tt class="py-op">,</tt> <tt class="py-name">color</tt><tt class="py-op">)</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">libraries</tt><tt class="py-op">[</tt><tt class="py-name">conf</tt><tt class="py-op">]</tt> </tt> |
|
154 <a name="L52"></a><tt class="py-lineno"> 52</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">color</tt> </tt> |
|
155 </div></div><a name="L53"></a><tt class="py-lineno"> 53</tt> <tt class="py-line"> </tt> |
|
156 <a name="L54"></a><tt class="py-lineno"> 54</tt> <tt class="py-line"><tt id="link-10" class="py-name" targets="Variable dependancygraph.COLORS=dependancygraph-module.html#COLORS"><a title="dependancygraph.COLORS" class="py-name" href="#" onclick="return doclink('link-10', 'COLORS', 'link-10');">COLORS</a></tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-string">'pink'</tt><tt class="py-op">,</tt> <tt class="py-string">'red'</tt><tt class="py-op">,</tt> <tt class="py-string">'lightblue'</tt><tt class="py-op">,</tt> <tt class="py-string">'orange'</tt><tt class="py-op">,</tt> <tt class="py-string">'green'</tt><tt class="py-op">,</tt> <tt class="py-string">'yellow'</tt><tt class="py-op">,</tt> <tt class="py-string">'turquoise'</tt><tt class="py-op">,</tt> <tt class="py-string">'limegreen'</tt><tt class="py-op">]</tt> </tt> |
|
157 <a name="L55"></a><tt class="py-lineno"> 55</tt> <tt class="py-line"> </tt> |
|
158 <a name="ReadIvyConfig"></a><div id="ReadIvyConfig-def"><a name="L56"></a><tt class="py-lineno"> 56</tt> <a class="py-toggle" href="#" id="ReadIvyConfig-toggle" onclick="return toggle('ReadIvyConfig');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="dependancygraph.ReadIvyConfig-class.html">ReadIvyConfig</a><tt class="py-op">:</tt> </tt> |
|
159 </div><div id="ReadIvyConfig-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="ReadIvyConfig-expanded"><a name="ReadIvyConfig.__init__"></a><div id="ReadIvyConfig.__init__-def"><a name="L57"></a><tt class="py-lineno"> 57</tt> <a class="py-toggle" href="#" id="ReadIvyConfig.__init__-toggle" onclick="return toggle('ReadIvyConfig.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="dependancygraph.ReadIvyConfig-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">ivyfilename</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
160 </div><div id="ReadIvyConfig.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="ReadIvyConfig.__init__-expanded"><a name="L58"></a><tt class="py-lineno"> 58</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">ivyfilename</tt> <tt class="py-op">=</tt> <tt class="py-name">ivyfilename</tt> </tt> |
|
161 <a name="L59"></a><tt class="py-lineno"> 59</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">ivyxml</tt> <tt class="py-op">=</tt> <tt class="py-name">amara</tt><tt class="py-op">.</tt><tt id="link-11" class="py-name" targets="Method bsf.BSF.parse()=bsf.BSF-class.html#parse,Method symbian.log.Parser.parse()=symbian.log.Parser-class.html#parse"><a title="bsf.BSF.parse |
|
162 symbian.log.Parser.parse" class="py-name" href="#" onclick="return doclink('link-11', 'parse', 'link-11');">parse</a></tt><tt class="py-op">(</tt><tt class="py-name">Uri</tt><tt class="py-op">.</tt><tt class="py-name">OsPathToUri</tt><tt class="py-op">(</tt><tt class="py-name">ivyfilename</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
163 <a name="L60"></a><tt class="py-lineno"> 60</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">group</tt> <tt class="py-op">=</tt> <tt id="link-12" class="py-name" targets="Class dependancygraph.ModuleGroup=dependancygraph.ModuleGroup-class.html"><a title="dependancygraph.ModuleGroup" class="py-name" href="#" onclick="return doclink('link-12', 'ModuleGroup', 'link-12');">ModuleGroup</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> |
|
164 </div><a name="L61"></a><tt class="py-lineno"> 61</tt> <tt class="py-line"> </tt> |
|
165 <a name="ReadIvyConfig.readConfigurations"></a><div id="ReadIvyConfig.readConfigurations-def"><a name="L62"></a><tt class="py-lineno"> 62</tt> <a class="py-toggle" href="#" id="ReadIvyConfig.readConfigurations-toggle" onclick="return toggle('ReadIvyConfig.readConfigurations');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="dependancygraph.ReadIvyConfig-class.html#readConfigurations">readConfigurations</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
166 </div><div id="ReadIvyConfig.readConfigurations-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="ReadIvyConfig.readConfigurations-expanded"><a name="L63"></a><tt class="py-lineno"> 63</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">conf</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">ivyxml</tt><tt class="py-op">[</tt><tt class="py-string">'ivy-module'</tt><tt class="py-op">]</tt><tt class="py-op">.</tt><tt id="link-13" class="py-name" targets="Method sysdef.api.SystemDefinition.configurations()=sysdef.api.SystemDefinition-class.html#configurations"><a title="sysdef.api.SystemDefinition.configurations" class="py-name" href="#" onclick="return doclink('link-13', 'configurations', 'link-13');">configurations</a></tt><tt class="py-op">.</tt><tt class="py-name">conf</tt><tt class="py-op">:</tt> </tt> |
|
167 <a name="L64"></a><tt class="py-lineno"> 64</tt> <tt class="py-line"> <tt class="py-name">color</tt> <tt class="py-op">=</tt> <tt id="link-14" class="py-name"><a title="dependancygraph.COLORS" class="py-name" href="#" onclick="return doclink('link-14', 'COLORS', 'link-10');">COLORS</a></tt><tt class="py-op">.</tt><tt id="link-15" class="py-name" targets="Method log2xml.Stack.pop()=log2xml.Stack-class.html#pop"><a title="log2xml.Stack.pop" class="py-name" href="#" onclick="return doclink('link-15', 'pop', 'link-15');">pop</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> |
|
168 <a name="L65"></a><tt class="py-lineno"> 65</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">group</tt><tt class="py-op">.</tt><tt id="link-16" class="py-name" targets="Method dependancygraph.ModuleGroup.addConf()=dependancygraph.ModuleGroup-class.html#addConf"><a title="dependancygraph.ModuleGroup.addConf" class="py-name" href="#" onclick="return doclink('link-16', 'addConf', 'link-16');">addConf</a></tt><tt class="py-op">(</tt><tt class="py-name">conf</tt><tt class="py-op">.</tt><tt id="link-17" class="py-name"><a title="buildtools.Command.name |
|
169 ccm.FourPartName.name |
|
170 symrec.ServicePack.name |
|
171 sysdef.api.Configuration.name |
|
172 sysdef.api.Option.name |
|
173 sysdef.api.SpecialInstruction.name |
|
174 sysdef.api.Target.name |
|
175 sysdef.api.TargetList.name |
|
176 sysdef.api.Unit.name |
|
177 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-17', 'name', 'link-0');">name</a></tt><tt class="py-op">,</tt> <tt class="py-name">conf</tt><tt class="py-op">.</tt><tt id="link-18" class="py-name" targets="Method ccm.Folder.description()=ccm.Folder-class.html#description"><a title="ccm.Folder.description" class="py-name" href="#" onclick="return doclink('link-18', 'description', 'link-18');">description</a></tt><tt class="py-op">,</tt> <tt class="py-name">color</tt><tt class="py-op">)</tt> </tt> |
|
178 </div><a name="L66"></a><tt class="py-lineno"> 66</tt> <tt class="py-line"> </tt> |
|
179 <a name="ReadIvyConfig.readModules"></a><div id="ReadIvyConfig.readModules-def"><a name="L67"></a><tt class="py-lineno"> 67</tt> <a class="py-toggle" href="#" id="ReadIvyConfig.readModules-toggle" onclick="return toggle('ReadIvyConfig.readModules');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="dependancygraph.ReadIvyConfig-class.html#readModules">readModules</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
180 </div><div id="ReadIvyConfig.readModules-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="ReadIvyConfig.readModules-expanded"><a name="L68"></a><tt class="py-lineno"> 68</tt> <tt class="py-line"> <tt class="py-name">license</tt> <tt class="py-op">=</tt> <tt class="py-string">''</tt> </tt> |
|
181 <a name="L69"></a><tt class="py-lineno"> 69</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">module</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">ivyxml</tt><tt class="py-op">[</tt><tt class="py-string">'ivy-module'</tt><tt class="py-op">]</tt><tt class="py-op">.</tt><tt class="py-name">dependencies</tt><tt class="py-op">.</tt><tt class="py-name">xml_children</tt><tt class="py-op">:</tt> </tt> |
|
182 <a name="L70"></a><tt class="py-lineno"> 70</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">hasattr</tt><tt class="py-op">(</tt><tt class="py-name">module</tt><tt class="py-op">,</tt> <tt class="py-string">'data'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
183 <a name="L71"></a><tt class="py-lineno"> 71</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-string">'License:'</tt> <tt class="py-keyword">in</tt> <tt class="py-name">module</tt><tt class="py-op">.</tt><tt class="py-name">data</tt><tt class="py-op">:</tt> </tt> |
|
184 <a name="L72"></a><tt class="py-lineno"> 72</tt> <tt class="py-line"> <tt class="py-name">license</tt> <tt class="py-op">=</tt> <tt class="py-name">module</tt><tt class="py-op">.</tt><tt class="py-name">data</tt><tt class="py-op">.</tt><tt class="py-name">strip</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> |
|
185 <a name="L73"></a><tt class="py-lineno"> 73</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">hasattr</tt><tt class="py-op">(</tt><tt class="py-name">module</tt><tt class="py-op">,</tt> <tt class="py-string">'name'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
186 <a name="L74"></a><tt class="py-lineno"> 74</tt> <tt class="py-line"> <tt class="py-name">modulename</tt> <tt class="py-op">=</tt> <tt class="py-name">module</tt><tt class="py-op">.</tt><tt id="link-19" class="py-name"><a title="buildtools.Command.name |
|
187 ccm.FourPartName.name |
|
188 symrec.ServicePack.name |
|
189 sysdef.api.Configuration.name |
|
190 sysdef.api.Option.name |
|
191 sysdef.api.SpecialInstruction.name |
|
192 sysdef.api.Target.name |
|
193 sysdef.api.TargetList.name |
|
194 sysdef.api.Unit.name |
|
195 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-19', 'name', 'link-0');">name</a></tt><tt class="py-op">.</tt><tt class="py-name">replace</tt><tt class="py-op">(</tt><tt class="py-string">'-'</tt><tt class="py-op">,</tt> <tt class="py-string">'_'</tt><tt class="py-op">)</tt> </tt> |
|
196 <a name="L75"></a><tt class="py-lineno"> 75</tt> <tt class="py-line"> </tt> |
|
197 <a name="L76"></a><tt class="py-lineno"> 76</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">module</tt><tt class="py-op">.</tt><tt class="py-name">org</tt> <tt class="py-op">!=</tt> <tt class="py-string">'SWEPT'</tt><tt class="py-op">:</tt> </tt> |
|
198 <a name="L77"></a><tt class="py-lineno"> 77</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">group</tt><tt class="py-op">.</tt><tt id="link-20" class="py-name" targets="Method dependancygraph.ModuleGroup.addLibrary()=dependancygraph.ModuleGroup-class.html#addLibrary"><a title="dependancygraph.ModuleGroup.addLibrary" class="py-name" href="#" onclick="return doclink('link-20', 'addLibrary', 'link-20');">addLibrary</a></tt><tt class="py-op">(</tt><tt class="py-name">module</tt><tt class="py-op">.</tt><tt class="py-name">conf</tt><tt class="py-op">,</tt> <tt id="link-21" class="py-name" targets="Class dependancygraph.Library=dependancygraph.Library-class.html"><a title="dependancygraph.Library" class="py-name" href="#" onclick="return doclink('link-21', 'Library', 'link-21');">Library</a></tt><tt class="py-op">(</tt><tt class="py-name">modulename</tt><tt class="py-op">,</tt> <tt class="py-name">license</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
199 <a name="L78"></a><tt class="py-lineno"> 78</tt> <tt class="py-line"> <tt class="py-name">license</tt> <tt class="py-op">=</tt> <tt class="py-string">''</tt> </tt> |
|
200 </div><a name="L79"></a><tt class="py-lineno"> 79</tt> <tt class="py-line"> </tt> |
|
201 <a name="ReadIvyConfig.readSubModules"></a><div id="ReadIvyConfig.readSubModules-def"><a name="L80"></a><tt class="py-lineno"> 80</tt> <a class="py-toggle" href="#" id="ReadIvyConfig.readSubModules-toggle" onclick="return toggle('ReadIvyConfig.readSubModules');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="dependancygraph.ReadIvyConfig-class.html#readSubModules">readSubModules</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
202 </div><div id="ReadIvyConfig.readSubModules-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="ReadIvyConfig.readSubModules-expanded"><a name="L81"></a><tt class="py-lineno"> 81</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">module</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">ivyxml</tt><tt class="py-op">[</tt><tt class="py-string">'ivy-module'</tt><tt class="py-op">]</tt><tt class="py-op">.</tt><tt class="py-name">dependencies</tt><tt class="py-op">.</tt><tt class="py-name">xml_children</tt><tt class="py-op">:</tt> </tt> |
|
203 <a name="L82"></a><tt class="py-lineno"> 82</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">hasattr</tt><tt class="py-op">(</tt><tt class="py-name">module</tt><tt class="py-op">,</tt> <tt class="py-string">'name'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
204 <a name="L83"></a><tt class="py-lineno"> 83</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-string">'jars'</tt> <tt class="py-keyword">in</tt> <tt class="py-name">module</tt><tt class="py-op">.</tt><tt id="link-22" class="py-name"><a title="buildtools.Command.name |
|
205 ccm.FourPartName.name |
|
206 symrec.ServicePack.name |
|
207 sysdef.api.Configuration.name |
|
208 sysdef.api.Option.name |
|
209 sysdef.api.SpecialInstruction.name |
|
210 sysdef.api.Target.name |
|
211 sysdef.api.TargetList.name |
|
212 sysdef.api.Unit.name |
|
213 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-22', 'name', 'link-0');">name</a></tt><tt class="py-op">:</tt> </tt> |
|
214 <a name="L84"></a><tt class="py-lineno"> 84</tt> <tt class="py-line"> <tt class="py-name">ivydir</tt> <tt class="py-op">=</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt id="link-23" class="py-name" targets="Method buildtools.Command.path()=buildtools.Command-class.html#path,Method sysdef.api.SpecialInstruction.path()=sysdef.api.SpecialInstruction-class.html#path,Method sysdef.api.Unit.path()=sysdef.api.Unit-class.html#path"><a title="buildtools.Command.path |
|
215 sysdef.api.SpecialInstruction.path |
|
216 sysdef.api.Unit.path" class="py-name" href="#" onclick="return doclink('link-23', 'path', 'link-23');">path</a></tt><tt class="py-op">.</tt><tt class="py-name">dirname</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">ivyfilename</tt><tt class="py-op">)</tt> </tt> |
|
217 <a name="L85"></a><tt class="py-lineno"> 85</tt> <tt class="py-line"> <tt class="py-name">ivydir</tt> <tt class="py-op">=</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt id="link-24" class="py-name"><a title="buildtools.Command.path |
|
218 sysdef.api.SpecialInstruction.path |
|
219 sysdef.api.Unit.path" class="py-name" href="#" onclick="return doclink('link-24', 'path', 'link-23');">path</a></tt><tt class="py-op">.</tt><tt class="py-name">join</tt><tt class="py-op">(</tt><tt class="py-name">ivydir</tt><tt class="py-op">,</tt> <tt class="py-string">'modules'</tt><tt class="py-op">)</tt> </tt> |
|
220 <a name="L86"></a><tt class="py-lineno"> 86</tt> <tt class="py-line"> <tt class="py-name">ivyjarfile</tt> <tt class="py-op">=</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt id="link-25" class="py-name"><a title="buildtools.Command.path |
|
221 sysdef.api.SpecialInstruction.path |
|
222 sysdef.api.Unit.path" class="py-name" href="#" onclick="return doclink('link-25', 'path', 'link-23');">path</a></tt><tt class="py-op">.</tt><tt class="py-name">join</tt><tt class="py-op">(</tt><tt class="py-name">ivydir</tt><tt class="py-op">,</tt> <tt class="py-name">module</tt><tt class="py-op">.</tt><tt id="link-26" class="py-name"><a title="buildtools.Command.name |
|
223 ccm.FourPartName.name |
|
224 symrec.ServicePack.name |
|
225 sysdef.api.Configuration.name |
|
226 sysdef.api.Option.name |
|
227 sysdef.api.SpecialInstruction.name |
|
228 sysdef.api.Target.name |
|
229 sysdef.api.TargetList.name |
|
230 sysdef.api.Unit.name |
|
231 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-26', 'name', 'link-0');">name</a></tt> <tt class="py-op">+</tt> <tt class="py-string">'-1.0.ivy.xml'</tt><tt class="py-op">)</tt> </tt> |
|
232 <a name="L87"></a><tt class="py-lineno"> 87</tt> <tt class="py-line"> <tt class="py-name">ivymodulexml</tt> <tt class="py-op">=</tt> <tt class="py-name">amara</tt><tt class="py-op">.</tt><tt id="link-27" class="py-name"><a title="bsf.BSF.parse |
|
233 symbian.log.Parser.parse" class="py-name" href="#" onclick="return doclink('link-27', 'parse', 'link-11');">parse</a></tt><tt class="py-op">(</tt><tt class="py-name">Uri</tt><tt class="py-op">.</tt><tt class="py-name">OsPathToUri</tt><tt class="py-op">(</tt><tt class="py-name">ivyjarfile</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
234 <a name="L88"></a><tt class="py-lineno"> 88</tt> <tt class="py-line"> <tt class="py-name">license</tt> <tt class="py-op">=</tt> <tt class="py-string">''</tt> </tt> |
|
235 <a name="L89"></a><tt class="py-lineno"> 89</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">artifact</tt> <tt class="py-keyword">in</tt> <tt class="py-name">ivymodulexml</tt><tt class="py-op">[</tt><tt class="py-string">'ivy-module'</tt><tt class="py-op">]</tt><tt class="py-op">.</tt><tt class="py-name">publications</tt><tt class="py-op">.</tt><tt class="py-name">xml_children</tt><tt class="py-op">:</tt> </tt> |
|
236 <a name="L90"></a><tt class="py-lineno"> 90</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">hasattr</tt><tt class="py-op">(</tt><tt class="py-name">artifact</tt><tt class="py-op">,</tt> <tt class="py-string">'data'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
237 <a name="L91"></a><tt class="py-lineno"> 91</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-string">'License:'</tt> <tt class="py-keyword">in</tt> <tt class="py-name">artifact</tt><tt class="py-op">.</tt><tt class="py-name">data</tt><tt class="py-op">:</tt> </tt> |
|
238 <a name="L92"></a><tt class="py-lineno"> 92</tt> <tt class="py-line"> <tt class="py-name">license</tt> <tt class="py-op">=</tt> <tt class="py-name">artifact</tt><tt class="py-op">.</tt><tt class="py-name">data</tt><tt class="py-op">.</tt><tt class="py-name">strip</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> |
|
239 <a name="L93"></a><tt class="py-lineno"> 93</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">hasattr</tt><tt class="py-op">(</tt><tt class="py-name">artifact</tt><tt class="py-op">,</tt> <tt class="py-string">'name'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
240 <a name="L94"></a><tt class="py-lineno"> 94</tt> <tt class="py-line"> <tt class="py-name">bits</tt> <tt class="py-op">=</tt> <tt class="py-name">artifact</tt><tt class="py-op">.</tt><tt id="link-28" class="py-name"><a title="buildtools.Command.name |
|
241 ccm.FourPartName.name |
|
242 symrec.ServicePack.name |
|
243 sysdef.api.Configuration.name |
|
244 sysdef.api.Option.name |
|
245 sysdef.api.SpecialInstruction.name |
|
246 sysdef.api.Target.name |
|
247 sysdef.api.TargetList.name |
|
248 sysdef.api.Unit.name |
|
249 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-28', 'name', 'link-0');">name</a></tt><tt class="py-op">.</tt><tt class="py-name">split</tt><tt class="py-op">(</tt><tt class="py-string">'-'</tt><tt class="py-op">)</tt> </tt> |
|
250 <a name="L95"></a><tt class="py-lineno"> 95</tt> <tt class="py-line"> <tt id="link-29" class="py-name"><a title="buildtools.Command.name |
|
251 ccm.FourPartName.name |
|
252 symrec.ServicePack.name |
|
253 sysdef.api.Configuration.name |
|
254 sysdef.api.Option.name |
|
255 sysdef.api.SpecialInstruction.name |
|
256 sysdef.api.Target.name |
|
257 sysdef.api.TargetList.name |
|
258 sysdef.api.Unit.name |
|
259 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-29', 'name', 'link-0');">name</a></tt> <tt class="py-op">=</tt> <tt class="py-name">bits</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt> </tt> |
|
260 <a name="L96"></a><tt class="py-lineno"> 96</tt> <tt class="py-line"> <tt id="link-30" class="py-name"><a title="ccm.FourPartName.version |
|
261 version" class="py-name" href="#" onclick="return doclink('link-30', 'version', 'link-2');">version</a></tt> <tt class="py-op">=</tt> <tt class="py-string">''</tt> </tt> |
|
262 <a name="L97"></a><tt class="py-lineno"> 97</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">bits</tt><tt class="py-op">)</tt> <tt class="py-op">></tt> <tt class="py-number">1</tt><tt class="py-op">:</tt> </tt> |
|
263 <a name="L98"></a><tt class="py-lineno"> 98</tt> <tt class="py-line"> <tt id="link-31" class="py-name"><a title="ccm.FourPartName.version |
|
264 version" class="py-name" href="#" onclick="return doclink('link-31', 'version', 'link-2');">version</a></tt> <tt class="py-op">=</tt> <tt class="py-name">bits</tt><tt class="py-op">[</tt><tt class="py-number">1</tt><tt class="py-op">]</tt> </tt> |
|
265 <a name="L99"></a><tt class="py-lineno"> 99</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">group</tt><tt class="py-op">.</tt><tt id="link-32" class="py-name"><a title="dependancygraph.ModuleGroup.addLibrary" class="py-name" href="#" onclick="return doclink('link-32', 'addLibrary', 'link-20');">addLibrary</a></tt><tt class="py-op">(</tt><tt class="py-name">module</tt><tt class="py-op">.</tt><tt class="py-name">conf</tt><tt class="py-op">,</tt> <tt id="link-33" class="py-name"><a title="dependancygraph.Library" class="py-name" href="#" onclick="return doclink('link-33', 'Library', 'link-21');">Library</a></tt><tt class="py-op">(</tt><tt id="link-34" class="py-name"><a title="buildtools.Command.name |
|
266 ccm.FourPartName.name |
|
267 symrec.ServicePack.name |
|
268 sysdef.api.Configuration.name |
|
269 sysdef.api.Option.name |
|
270 sysdef.api.SpecialInstruction.name |
|
271 sysdef.api.Target.name |
|
272 sysdef.api.TargetList.name |
|
273 sysdef.api.Unit.name |
|
274 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-34', 'name', 'link-0');">name</a></tt><tt class="py-op">,</tt> <tt class="py-name">license</tt><tt class="py-op">,</tt> <tt id="link-35" class="py-name"><a title="ccm.FourPartName.version |
|
275 version" class="py-name" href="#" onclick="return doclink('link-35', 'version', 'link-2');">version</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
276 <a name="L100"></a><tt class="py-lineno">100</tt> <tt class="py-line"> <tt class="py-name">license</tt> <tt class="py-op">=</tt> <tt class="py-string">''</tt> </tt> |
|
277 </div></div><a name="L101"></a><tt class="py-lineno">101</tt> <tt class="py-line"> </tt> |
|
278 <a name="L102"></a><tt class="py-lineno">102</tt> <tt class="py-line"><tt id="link-36" class="py-name" targets="Variable dependancygraph.PYTHON_GROUP=dependancygraph-module.html#PYTHON_GROUP"><a title="dependancygraph.PYTHON_GROUP" class="py-name" href="#" onclick="return doclink('link-36', 'PYTHON_GROUP', 'link-36');">PYTHON_GROUP</a></tt> <tt class="py-op">=</tt> <tt class="py-name">True</tt> </tt> |
|
279 <a name="L103"></a><tt class="py-lineno">103</tt> <tt class="py-line"><tt id="link-37" class="py-name" targets="Variable dependancygraph.SUBCON_PYTHON_GROUP=dependancygraph-module.html#SUBCON_PYTHON_GROUP"><a title="dependancygraph.SUBCON_PYTHON_GROUP" class="py-name" href="#" onclick="return doclink('link-37', 'SUBCON_PYTHON_GROUP', 'link-37');">SUBCON_PYTHON_GROUP</a></tt> <tt class="py-op">=</tt> <tt class="py-name">False</tt> </tt> |
|
280 <a name="L104"></a><tt class="py-lineno">104</tt> <tt class="py-line"> </tt> |
|
281 <a name="readEggs"></a><div id="readEggs-def"><a name="L105"></a><tt class="py-lineno">105</tt> <a class="py-toggle" href="#" id="readEggs-toggle" onclick="return toggle('readEggs');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="dependancygraph-module.html#readEggs">readEggs</a><tt class="py-op">(</tt><tt class="py-param">libraries</tt><tt class="py-op">,</tt> <tt class="py-param">dirtosearch</tt><tt class="py-op">,</tt> <tt class="py-param">internaldir</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
282 </div><div id="readEggs-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="readEggs-expanded"><a name="L106"></a><tt class="py-lineno">106</tt> <tt class="py-line"> <tt class="py-name">libraries</tt><tt class="py-op">.</tt><tt id="link-38" class="py-name"><a title="dependancygraph.ModuleGroup.addConf" class="py-name" href="#" onclick="return doclink('link-38', 'addConf', 'link-16');">addConf</a></tt><tt class="py-op">(</tt><tt id="link-39" class="py-name"><a title="dependancygraph.PYTHON_GROUP" class="py-name" href="#" onclick="return doclink('link-39', 'PYTHON_GROUP', 'link-36');">PYTHON_GROUP</a></tt><tt class="py-op">,</tt> <tt class="py-string">'Python libs'</tt><tt class="py-op">,</tt> <tt class="py-name">libraries</tt><tt class="py-op">.</tt><tt id="link-40" class="py-name" targets="Method dependancygraph.ModuleGroup.getColor()=dependancygraph.ModuleGroup-class.html#getColor"><a title="dependancygraph.ModuleGroup.getColor" class="py-name" href="#" onclick="return doclink('link-40', 'getColor', 'link-40');">getColor</a></tt><tt class="py-op">(</tt><tt class="py-string">'core_install'</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
283 <a name="L107"></a><tt class="py-lineno">107</tt> <tt class="py-line"> <tt class="py-name">libraries</tt><tt class="py-op">.</tt><tt id="link-41" class="py-name"><a title="dependancygraph.ModuleGroup.addConf" class="py-name" href="#" onclick="return doclink('link-41', 'addConf', 'link-16');">addConf</a></tt><tt class="py-op">(</tt><tt id="link-42" class="py-name"><a title="dependancygraph.SUBCON_PYTHON_GROUP" class="py-name" href="#" onclick="return doclink('link-42', 'SUBCON_PYTHON_GROUP', 'link-37');">SUBCON_PYTHON_GROUP</a></tt><tt class="py-op">,</tt> <tt class="py-string">'Python subcon libs'</tt><tt class="py-op">,</tt> <tt class="py-name">libraries</tt><tt class="py-op">.</tt><tt id="link-43" class="py-name"><a title="dependancygraph.ModuleGroup.getColor" class="py-name" href="#" onclick="return doclink('link-43', 'getColor', 'link-40');">getColor</a></tt><tt class="py-op">(</tt><tt class="py-string">'subcon'</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
284 <a name="L108"></a><tt class="py-lineno">108</tt> <tt class="py-line"> </tt> |
|
285 <a name="L109"></a><tt class="py-lineno">109</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">x</tt> <tt class="py-keyword">in</tt> <tt class="py-op">[</tt><tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">walk</tt><tt class="py-op">(</tt><tt class="py-name">dirtosearch</tt><tt class="py-op">,</tt> <tt class="py-name">topdown</tt><tt class="py-op">=</tt><tt class="py-name">False</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">walk</tt><tt class="py-op">(</tt><tt class="py-name">internaldir</tt><tt class="py-op">,</tt> <tt class="py-name">topdown</tt><tt class="py-op">=</tt><tt class="py-name">False</tt><tt class="py-op">)</tt><tt class="py-op">]</tt><tt class="py-op">:</tt> </tt> |
|
286 <a name="L110"></a><tt class="py-lineno">110</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">root</tt><tt class="py-op">,</tt> <tt class="py-name">_</tt><tt class="py-op">,</tt> <tt id="link-44" class="py-name" targets="Method symrec.ServicePack.files()=symrec.ServicePack-class.html#files"><a title="symrec.ServicePack.files" class="py-name" href="#" onclick="return doclink('link-44', 'files', 'link-44');">files</a></tt> <tt class="py-keyword">in</tt> <tt class="py-name">x</tt><tt class="py-op">:</tt> </tt> |
|
287 <a name="L111"></a><tt class="py-lineno">111</tt> <tt class="py-line"> <tt class="py-name">notinsubcon</tt> <tt class="py-op">=</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt id="link-45" class="py-name"><a title="buildtools.Command.path |
|
288 sysdef.api.SpecialInstruction.path |
|
289 sysdef.api.Unit.path" class="py-name" href="#" onclick="return doclink('link-45', 'path', 'link-23');">path</a></tt><tt class="py-op">.</tt><tt class="py-name">normpath</tt><tt class="py-op">(</tt><tt class="py-name">internaldir</tt><tt class="py-op">)</tt> <tt class="py-keyword">in</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt id="link-46" class="py-name"><a title="buildtools.Command.path |
|
290 sysdef.api.SpecialInstruction.path |
|
291 sysdef.api.Unit.path" class="py-name" href="#" onclick="return doclink('link-46', 'path', 'link-23');">path</a></tt><tt class="py-op">.</tt><tt class="py-name">normpath</tt><tt class="py-op">(</tt><tt class="py-name">root</tt><tt class="py-op">)</tt> </tt> |
|
292 <a name="L112"></a><tt class="py-lineno">112</tt> <tt class="py-line"> </tt> |
|
293 <a name="L113"></a><tt class="py-lineno">113</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">fname</tt> <tt class="py-keyword">in</tt> <tt id="link-47" class="py-name"><a title="symrec.ServicePack.files" class="py-name" href="#" onclick="return doclink('link-47', 'files', 'link-44');">files</a></tt><tt class="py-op">:</tt> </tt> |
|
294 <a name="L114"></a><tt class="py-lineno">114</tt> <tt class="py-line"> <tt id="link-48" class="py-name" targets="Variable symrec.ReleaseMetadata.filename=symrec.ReleaseMetadata-class.html#filename"><a title="symrec.ReleaseMetadata.filename" class="py-name" href="#" onclick="return doclink('link-48', 'filename', 'link-48');">filename</a></tt> <tt class="py-op">=</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt id="link-49" class="py-name"><a title="buildtools.Command.path |
|
295 sysdef.api.SpecialInstruction.path |
|
296 sysdef.api.Unit.path" class="py-name" href="#" onclick="return doclink('link-49', 'path', 'link-23');">path</a></tt><tt class="py-op">.</tt><tt class="py-name">join</tt><tt class="py-op">(</tt><tt class="py-name">root</tt><tt class="py-op">,</tt> <tt class="py-name">fname</tt><tt class="py-op">)</tt> </tt> |
|
297 <a name="L115"></a><tt class="py-lineno">115</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">fname</tt> <tt class="py-op">==</tt> <tt class="py-string">'PKG-INFO'</tt><tt class="py-op">:</tt> </tt> |
|
298 <a name="L116"></a><tt class="py-lineno">116</tt> <tt class="py-line"> <tt class="py-name">pkgmetafile</tt> <tt class="py-op">=</tt> <tt class="py-name">open</tt><tt class="py-op">(</tt><tt id="link-50" class="py-name"><a title="symrec.ReleaseMetadata.filename" class="py-name" href="#" onclick="return doclink('link-50', 'filename', 'link-48');">filename</a></tt><tt class="py-op">)</tt> </tt> |
|
299 <a name="L117"></a><tt class="py-lineno">117</tt> <tt class="py-line"> <tt class="py-name">library</tt> <tt class="py-op">=</tt> <tt id="link-51" class="py-name" targets="Function dependancygraph.readPkgInfo()=dependancygraph-module.html#readPkgInfo"><a title="dependancygraph.readPkgInfo" class="py-name" href="#" onclick="return doclink('link-51', 'readPkgInfo', 'link-51');">readPkgInfo</a></tt><tt class="py-op">(</tt><tt class="py-name">pkgmetafile</tt><tt class="py-op">)</tt> </tt> |
|
300 <a name="L118"></a><tt class="py-lineno">118</tt> <tt class="py-line"> <tt class="py-name">pkgmetafile</tt><tt class="py-op">.</tt><tt id="link-52" class="py-name" targets="Method build.model.BOM.close()=build.model.BOM-class.html#close,Method build.model.SessionCreator.close()=build.model.SessionCreator-class.html#close,Method buildtools.AbstractOutputWriter.close()=buildtools.AbstractOutputWriter-class.html#close,Method ccm.AbstractSession.close()=ccm.AbstractSession-class.html#close,Method ccm.Session.close()=ccm.Session-class.html#close,Method ccm.SessionPool.close()=ccm.SessionPool-class.html#close,Method ccm.extra.CachedSessionProvider.close()=ccm.extra.CachedSessionProvider-class.html#close,Method ccm.extra.SessionProvider.close()=ccm.extra.SessionProvider-class.html#close,Method log2xml.LogWriter.close()=log2xml.LogWriter-class.html#close,Method preparation.PreparationBuilder.close()=preparation.PreparationBuilder-class.html#close,Method sysdef.io.FlashImageSizeWriter.close()=sysdef.io.FlashImageSizeWriter-class.html#close"><a title="build.model.BOM.close |
|
301 build.model.SessionCreator.close |
|
302 buildtools.AbstractOutputWriter.close |
|
303 ccm.AbstractSession.close |
|
304 ccm.Session.close |
|
305 ccm.SessionPool.close |
|
306 ccm.extra.CachedSessionProvider.close |
|
307 ccm.extra.SessionProvider.close |
|
308 log2xml.LogWriter.close |
|
309 preparation.PreparationBuilder.close |
|
310 sysdef.io.FlashImageSizeWriter.close" class="py-name" href="#" onclick="return doclink('link-52', 'close', 'link-52');">close</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> |
|
311 <a name="L119"></a><tt class="py-lineno">119</tt> <tt class="py-line"> </tt> |
|
312 <a name="L120"></a><tt class="py-lineno">120</tt> <tt class="py-line"> <tt class="py-name">requirefilename</tt> <tt class="py-op">=</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt id="link-53" class="py-name"><a title="buildtools.Command.path |
|
313 sysdef.api.SpecialInstruction.path |
|
314 sysdef.api.Unit.path" class="py-name" href="#" onclick="return doclink('link-53', 'path', 'link-23');">path</a></tt><tt class="py-op">.</tt><tt class="py-name">join</tt><tt class="py-op">(</tt><tt id="link-54" class="py-name"><a title="symrec.ReleaseMetadata.filename" class="py-name" href="#" onclick="return doclink('link-54', 'filename', 'link-48');">filename</a></tt><tt class="py-op">,</tt> <tt class="py-string">'..'</tt><tt class="py-op">,</tt> <tt class="py-string">'requires.txt'</tt><tt class="py-op">)</tt> </tt> |
|
315 <a name="L121"></a><tt class="py-lineno">121</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt id="link-55" class="py-name"><a title="buildtools.Command.path |
|
316 sysdef.api.SpecialInstruction.path |
|
317 sysdef.api.Unit.path" class="py-name" href="#" onclick="return doclink('link-55', 'path', 'link-23');">path</a></tt><tt class="py-op">.</tt><tt id="link-56" class="py-name" targets="Method ccm.CCMObject.exists()=ccm.CCMObject-class.html#exists"><a title="ccm.CCMObject.exists" class="py-name" href="#" onclick="return doclink('link-56', 'exists', 'link-56');">exists</a></tt><tt class="py-op">(</tt><tt class="py-name">requirefilename</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
318 <a name="L122"></a><tt class="py-lineno">122</tt> <tt class="py-line"> <tt class="py-name">requiresfile</tt> <tt class="py-op">=</tt> <tt class="py-name">open</tt><tt class="py-op">(</tt><tt class="py-name">requirefilename</tt><tt class="py-op">)</tt> </tt> |
|
319 <a name="L123"></a><tt class="py-lineno">123</tt> <tt class="py-line"> <tt id="link-57" class="py-name" targets="Function dependancygraph.readRequiresFile()=dependancygraph-module.html#readRequiresFile"><a title="dependancygraph.readRequiresFile" class="py-name" href="#" onclick="return doclink('link-57', 'readRequiresFile', 'link-57');">readRequiresFile</a></tt><tt class="py-op">(</tt><tt class="py-name">requiresfile</tt><tt class="py-op">,</tt> <tt class="py-name">library</tt><tt class="py-op">)</tt> </tt> |
|
320 <a name="L124"></a><tt class="py-lineno">124</tt> <tt class="py-line"> <tt class="py-name">requiresfile</tt><tt class="py-op">.</tt><tt id="link-58" class="py-name"><a title="build.model.BOM.close |
|
321 build.model.SessionCreator.close |
|
322 buildtools.AbstractOutputWriter.close |
|
323 ccm.AbstractSession.close |
|
324 ccm.Session.close |
|
325 ccm.SessionPool.close |
|
326 ccm.extra.CachedSessionProvider.close |
|
327 ccm.extra.SessionProvider.close |
|
328 log2xml.LogWriter.close |
|
329 preparation.PreparationBuilder.close |
|
330 sysdef.io.FlashImageSizeWriter.close" class="py-name" href="#" onclick="return doclink('link-58', 'close', 'link-52');">close</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> |
|
331 <a name="L125"></a><tt class="py-lineno">125</tt> <tt class="py-line"> </tt> |
|
332 <a name="L126"></a><tt class="py-lineno">126</tt> <tt class="py-line"> <tt class="py-name">libraries</tt><tt class="py-op">.</tt><tt id="link-59" class="py-name"><a title="dependancygraph.ModuleGroup.addLibrary" class="py-name" href="#" onclick="return doclink('link-59', 'addLibrary', 'link-20');">addLibrary</a></tt><tt class="py-op">(</tt><tt class="py-name">notinsubcon</tt><tt class="py-op">,</tt> <tt class="py-name">library</tt><tt class="py-op">)</tt> </tt> |
|
333 <a name="L127"></a><tt class="py-lineno">127</tt> <tt class="py-line"> </tt> |
|
334 <a name="L128"></a><tt class="py-lineno">128</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt id="link-60" class="py-name"><a title="buildtools.Command.path |
|
335 sysdef.api.SpecialInstruction.path |
|
336 sysdef.api.Unit.path" class="py-name" href="#" onclick="return doclink('link-60', 'path', 'link-23');">path</a></tt><tt class="py-op">.</tt><tt class="py-name">isfile</tt><tt class="py-op">(</tt><tt id="link-61" class="py-name"><a title="symrec.ReleaseMetadata.filename" class="py-name" href="#" onclick="return doclink('link-61', 'filename', 'link-48');">filename</a></tt><tt class="py-op">)</tt> <tt class="py-keyword">and</tt> <tt class="py-name">fname</tt><tt class="py-op">.</tt><tt class="py-name">endswith</tt><tt class="py-op">(</tt><tt class="py-string">'.egg'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
337 <a name="L129"></a><tt class="py-lineno">129</tt> <tt class="py-line"> <tt class="py-name">eggfile</tt> <tt class="py-op">=</tt> <tt class="py-name">zipfile</tt><tt class="py-op">.</tt><tt class="py-name">ZipFile</tt><tt class="py-op">(</tt><tt id="link-62" class="py-name"><a title="symrec.ReleaseMetadata.filename" class="py-name" href="#" onclick="return doclink('link-62', 'filename', 'link-48');">filename</a></tt><tt class="py-op">,</tt> <tt class="py-string">'r'</tt><tt class="py-op">,</tt> <tt class="py-name">zipfile</tt><tt class="py-op">.</tt><tt class="py-name">ZIP_DEFLATED</tt><tt class="py-op">)</tt> </tt> |
|
338 <a name="L130"></a><tt class="py-lineno">130</tt> <tt class="py-line"> </tt> |
|
339 <a name="L131"></a><tt class="py-lineno">131</tt> <tt class="py-line"> <tt class="py-name">data</tt> <tt class="py-op">=</tt> <tt class="py-name">eggfile</tt><tt class="py-op">.</tt><tt class="py-name">read</tt><tt class="py-op">(</tt><tt class="py-string">'EGG-INFO/PKG-INFO'</tt><tt class="py-op">)</tt> </tt> |
|
340 <a name="L132"></a><tt class="py-lineno">132</tt> <tt class="py-line"> </tt> |
|
341 <a name="L133"></a><tt class="py-lineno">133</tt> <tt class="py-line"> <tt class="py-name">library</tt> <tt class="py-op">=</tt> <tt id="link-63" class="py-name"><a title="dependancygraph.readPkgInfo" class="py-name" href="#" onclick="return doclink('link-63', 'readPkgInfo', 'link-51');">readPkgInfo</a></tt><tt class="py-op">(</tt><tt class="py-name">data</tt><tt class="py-op">.</tt><tt class="py-name">split</tt><tt class="py-op">(</tt><tt class="py-string">'\n'</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
342 <a name="L134"></a><tt class="py-lineno">134</tt> <tt class="py-line"> </tt> |
|
343 <a name="L135"></a><tt class="py-lineno">135</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-string">'EGG-INFO/requires.txt'</tt> <tt class="py-keyword">in</tt> <tt class="py-name">eggfile</tt><tt class="py-op">.</tt><tt class="py-name">namelist</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
344 <a name="L136"></a><tt class="py-lineno">136</tt> <tt class="py-line"> <tt class="py-name">requiresdata</tt> <tt class="py-op">=</tt> <tt class="py-name">eggfile</tt><tt class="py-op">.</tt><tt class="py-name">read</tt><tt class="py-op">(</tt><tt class="py-string">'EGG-INFO/requires.txt'</tt><tt class="py-op">)</tt> </tt> |
|
345 <a name="L137"></a><tt class="py-lineno">137</tt> <tt class="py-line"> <tt id="link-64" class="py-name"><a title="dependancygraph.readRequiresFile" class="py-name" href="#" onclick="return doclink('link-64', 'readRequiresFile', 'link-57');">readRequiresFile</a></tt><tt class="py-op">(</tt><tt class="py-name">requiresdata</tt><tt class="py-op">.</tt><tt class="py-name">split</tt><tt class="py-op">(</tt><tt class="py-string">'\n'</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-name">library</tt><tt class="py-op">)</tt> </tt> |
|
346 <a name="L138"></a><tt class="py-lineno">138</tt> <tt class="py-line"> </tt> |
|
347 <a name="L139"></a><tt class="py-lineno">139</tt> <tt class="py-line"> <tt class="py-name">libraries</tt><tt class="py-op">.</tt><tt id="link-65" class="py-name"><a title="dependancygraph.ModuleGroup.addLibrary" class="py-name" href="#" onclick="return doclink('link-65', 'addLibrary', 'link-20');">addLibrary</a></tt><tt class="py-op">(</tt><tt class="py-name">notinsubcon</tt><tt class="py-op">,</tt> <tt class="py-name">library</tt><tt class="py-op">)</tt> </tt> |
|
348 <a name="L140"></a><tt class="py-lineno">140</tt> <tt class="py-line"> </tt> |
|
349 <a name="L141"></a><tt class="py-lineno">141</tt> <tt class="py-line"> <tt class="py-name">eggfile</tt><tt class="py-op">.</tt><tt id="link-66" class="py-name"><a title="build.model.BOM.close |
|
350 build.model.SessionCreator.close |
|
351 buildtools.AbstractOutputWriter.close |
|
352 ccm.AbstractSession.close |
|
353 ccm.Session.close |
|
354 ccm.SessionPool.close |
|
355 ccm.extra.CachedSessionProvider.close |
|
356 ccm.extra.SessionProvider.close |
|
357 log2xml.LogWriter.close |
|
358 preparation.PreparationBuilder.close |
|
359 sysdef.io.FlashImageSizeWriter.close" class="py-name" href="#" onclick="return doclink('link-66', 'close', 'link-52');">close</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> |
|
360 </div><a name="L142"></a><tt class="py-lineno">142</tt> <tt class="py-line"> </tt> |
|
361 <a name="readRequiresFile"></a><div id="readRequiresFile-def"><a name="L143"></a><tt class="py-lineno">143</tt> <a class="py-toggle" href="#" id="readRequiresFile-toggle" onclick="return toggle('readRequiresFile');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="dependancygraph-module.html#readRequiresFile">readRequiresFile</a><tt class="py-op">(</tt><tt class="py-param">data</tt><tt class="py-op">,</tt> <tt class="py-param">library</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
362 </div><div id="readRequiresFile-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="readRequiresFile-expanded"><a name="L144"></a><tt class="py-lineno">144</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">line</tt> <tt class="py-keyword">in</tt> <tt class="py-name">data</tt><tt class="py-op">:</tt> </tt> |
|
363 <a name="L145"></a><tt class="py-lineno">145</tt> <tt class="py-line"> <tt class="py-name">line</tt> <tt class="py-op">=</tt> <tt class="py-name">line</tt><tt class="py-op">.</tt><tt class="py-name">strip</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> |
|
364 <a name="L146"></a><tt class="py-lineno">146</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">line</tt> <tt class="py-op">!=</tt> <tt class="py-string">''</tt> <tt class="py-keyword">and</tt> <tt class="py-keyword">not</tt> <tt class="py-op">(</tt><tt class="py-name">line</tt><tt class="py-op">.</tt><tt class="py-name">startswith</tt><tt class="py-op">(</tt><tt class="py-string">'['</tt><tt class="py-op">)</tt> <tt class="py-keyword">and</tt> <tt class="py-name">line</tt><tt class="py-op">.</tt><tt class="py-name">endswith</tt><tt class="py-op">(</tt><tt class="py-string">']'</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
365 <a name="L147"></a><tt class="py-lineno">147</tt> <tt class="py-line"> <tt class="py-name">library</tt><tt class="py-op">.</tt><tt class="py-name">requires</tt><tt class="py-op">.</tt><tt id="link-67" class="py-name"><a title="ccm.Folder.append |
|
366 ccm.Task.append" class="py-name" href="#" onclick="return doclink('link-67', 'append', 'link-9');">append</a></tt><tt class="py-op">(</tt><tt class="py-name">line</tt><tt class="py-op">.</tt><tt class="py-name">split</tt><tt class="py-op">(</tt><tt class="py-string">'>='</tt><tt class="py-op">)</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt><tt class="py-op">.</tt><tt class="py-name">strip</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
367 </div><a name="L148"></a><tt class="py-lineno">148</tt> <tt class="py-line"> </tt> |
|
368 <a name="readPkgInfo"></a><div id="readPkgInfo-def"><a name="L149"></a><tt class="py-lineno">149</tt> <a class="py-toggle" href="#" id="readPkgInfo-toggle" onclick="return toggle('readPkgInfo');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="dependancygraph-module.html#readPkgInfo">readPkgInfo</a><tt class="py-op">(</tt><tt class="py-param">data</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
369 </div><div id="readPkgInfo-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="readPkgInfo-expanded"><a name="L150"></a><tt class="py-lineno">150</tt> <tt class="py-line"> <tt id="link-68" class="py-name"><a title="buildtools.Command.name |
|
370 ccm.FourPartName.name |
|
371 symrec.ServicePack.name |
|
372 sysdef.api.Configuration.name |
|
373 sysdef.api.Option.name |
|
374 sysdef.api.SpecialInstruction.name |
|
375 sysdef.api.Target.name |
|
376 sysdef.api.TargetList.name |
|
377 sysdef.api.Unit.name |
|
378 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-68', 'name', 'link-0');">name</a></tt> <tt class="py-op">=</tt> <tt class="py-string">''</tt> </tt> |
|
379 <a name="L151"></a><tt class="py-lineno">151</tt> <tt class="py-line"> <tt id="link-69" class="py-name"><a title="ccm.FourPartName.version |
|
380 version" class="py-name" href="#" onclick="return doclink('link-69', 'version', 'link-2');">version</a></tt> <tt class="py-op">=</tt> <tt class="py-string">''</tt> </tt> |
|
381 <a name="L152"></a><tt class="py-lineno">152</tt> <tt class="py-line"> <tt class="py-name">license</tt> <tt class="py-op">=</tt> <tt class="py-string">''</tt> </tt> |
|
382 <a name="L153"></a><tt class="py-lineno">153</tt> <tt class="py-line"> <tt class="py-name">license2</tt> <tt class="py-op">=</tt> <tt class="py-string">''</tt> </tt> |
|
383 <a name="L154"></a><tt class="py-lineno">154</tt> <tt class="py-line"> </tt> |
|
384 <a name="L155"></a><tt class="py-lineno">155</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">line</tt> <tt class="py-keyword">in</tt> <tt class="py-name">data</tt><tt class="py-op">:</tt> </tt> |
|
385 <a name="L156"></a><tt class="py-lineno">156</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-string">'Name:'</tt> <tt class="py-keyword">in</tt> <tt class="py-name">line</tt><tt class="py-op">:</tt> </tt> |
|
386 <a name="L157"></a><tt class="py-lineno">157</tt> <tt class="py-line"> <tt id="link-70" class="py-name"><a title="buildtools.Command.name |
|
387 ccm.FourPartName.name |
|
388 symrec.ServicePack.name |
|
389 sysdef.api.Configuration.name |
|
390 sysdef.api.Option.name |
|
391 sysdef.api.SpecialInstruction.name |
|
392 sysdef.api.Target.name |
|
393 sysdef.api.TargetList.name |
|
394 sysdef.api.Unit.name |
|
395 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-70', 'name', 'link-0');">name</a></tt> <tt class="py-op">=</tt> <tt class="py-name">line</tt><tt class="py-op">.</tt><tt class="py-name">strip</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">replace</tt><tt class="py-op">(</tt><tt class="py-string">'Name: '</tt><tt class="py-op">,</tt> <tt class="py-string">''</tt><tt class="py-op">)</tt> </tt> |
|
396 <a name="L158"></a><tt class="py-lineno">158</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-string">'Version:'</tt> <tt class="py-keyword">in</tt> <tt class="py-name">line</tt><tt class="py-op">:</tt> </tt> |
|
397 <a name="L159"></a><tt class="py-lineno">159</tt> <tt class="py-line"> <tt id="link-71" class="py-name"><a title="ccm.FourPartName.version |
|
398 version" class="py-name" href="#" onclick="return doclink('link-71', 'version', 'link-2');">version</a></tt> <tt class="py-op">=</tt> <tt class="py-name">line</tt><tt class="py-op">.</tt><tt class="py-name">strip</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">replace</tt><tt class="py-op">(</tt><tt class="py-string">'Version: '</tt><tt class="py-op">,</tt> <tt class="py-string">''</tt><tt class="py-op">)</tt> </tt> |
|
399 <a name="L160"></a><tt class="py-lineno">160</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-string">'License:'</tt> <tt class="py-keyword">in</tt> <tt class="py-name">line</tt><tt class="py-op">:</tt> </tt> |
|
400 <a name="L161"></a><tt class="py-lineno">161</tt> <tt class="py-line"> <tt class="py-name">license</tt> <tt class="py-op">=</tt> <tt class="py-name">line</tt><tt class="py-op">.</tt><tt class="py-name">strip</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">replace</tt><tt class="py-op">(</tt><tt class="py-string">'License: '</tt><tt class="py-op">,</tt> <tt class="py-string">''</tt><tt class="py-op">)</tt> </tt> |
|
401 <a name="L162"></a><tt class="py-lineno">162</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-string">'Classifier: License :: '</tt> <tt class="py-keyword">in</tt> <tt class="py-name">line</tt><tt class="py-op">:</tt> </tt> |
|
402 <a name="L163"></a><tt class="py-lineno">163</tt> <tt class="py-line"> <tt class="py-name">license2</tt> <tt class="py-op">=</tt> <tt class="py-name">license2</tt> <tt class="py-op">+</tt> <tt class="py-string">' '</tt> <tt class="py-op">+</tt> <tt class="py-name">line</tt><tt class="py-op">.</tt><tt class="py-name">strip</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">replace</tt><tt class="py-op">(</tt><tt class="py-string">'Classifier: License :: '</tt><tt class="py-op">,</tt> <tt class="py-string">''</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">replace</tt><tt class="py-op">(</tt><tt class="py-string">'OSI Approved :: '</tt><tt class="py-op">,</tt> <tt class="py-string">''</tt><tt class="py-op">)</tt> </tt> |
|
403 <a name="L164"></a><tt class="py-lineno">164</tt> <tt class="py-line"> </tt> |
|
404 <a name="L165"></a><tt class="py-lineno">165</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">license</tt><tt class="py-op">.</tt><tt class="py-name">lower</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> <tt class="py-op">==</tt> <tt class="py-string">'unknown'</tt> <tt class="py-keyword">or</tt> <tt class="py-name">license</tt> <tt class="py-op">==</tt> <tt class="py-string">''</tt> <tt class="py-keyword">or</tt> <tt class="py-name">license2</tt> <tt class="py-op">!=</tt> <tt class="py-string">''</tt><tt class="py-op">:</tt> </tt> |
|
405 <a name="L166"></a><tt class="py-lineno">166</tt> <tt class="py-line"> <tt class="py-name">license</tt> <tt class="py-op">=</tt> <tt class="py-name">license2</tt> </tt> |
|
406 <a name="L167"></a><tt class="py-lineno">167</tt> <tt class="py-line"> </tt> |
|
407 <a name="L168"></a><tt class="py-lineno">168</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt id="link-72" class="py-name"><a title="dependancygraph.Library" class="py-name" href="#" onclick="return doclink('link-72', 'Library', 'link-21');">Library</a></tt><tt class="py-op">(</tt><tt id="link-73" class="py-name"><a title="buildtools.Command.name |
|
408 ccm.FourPartName.name |
|
409 symrec.ServicePack.name |
|
410 sysdef.api.Configuration.name |
|
411 sysdef.api.Option.name |
|
412 sysdef.api.SpecialInstruction.name |
|
413 sysdef.api.Target.name |
|
414 sysdef.api.TargetList.name |
|
415 sysdef.api.Unit.name |
|
416 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-73', 'name', 'link-0');">name</a></tt><tt class="py-op">,</tt> <tt class="py-name">license</tt><tt class="py-op">,</tt> <tt id="link-74" class="py-name"><a title="ccm.FourPartName.version |
|
417 version" class="py-name" href="#" onclick="return doclink('link-74', 'version', 'link-2');">version</a></tt><tt class="py-op">)</tt> </tt> |
|
418 </div><a name="L169"></a><tt class="py-lineno">169</tt> <tt class="py-line"> </tt> |
|
419 <a name="addLicensesColors"></a><div id="addLicensesColors-def"><a name="L170"></a><tt class="py-lineno">170</tt> <a class="py-toggle" href="#" id="addLicensesColors-toggle" onclick="return toggle('addLicensesColors');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="dependancygraph-module.html#addLicensesColors">addLicensesColors</a><tt class="py-op">(</tt><tt class="py-param">graphdata</tt><tt class="py-op">,</tt> <tt class="py-param">group</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
420 </div><div id="addLicensesColors-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="addLicensesColors-expanded"><a name="L171"></a><tt class="py-lineno">171</tt> <tt class="py-line"> <tt class="py-name">newgraphdata</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt> |
|
421 <a name="L172"></a><tt class="py-lineno">172</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">line</tt> <tt class="py-keyword">in</tt> <tt class="py-name">graphdata</tt><tt class="py-op">:</tt> </tt> |
|
422 <a name="L173"></a><tt class="py-lineno">173</tt> <tt class="py-line"> <tt class="py-name">newline</tt> <tt class="py-op">=</tt> <tt class="py-name">line</tt> </tt> |
|
423 <a name="L174"></a><tt class="py-lineno">174</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">conf</tt> <tt class="py-keyword">in</tt> <tt class="py-name">group</tt><tt class="py-op">.</tt><tt class="py-name">libraries</tt><tt class="py-op">:</tt> </tt> |
|
424 <a name="L175"></a><tt class="py-lineno">175</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">module</tt> <tt class="py-keyword">in</tt> <tt class="py-name">group</tt><tt class="py-op">.</tt><tt id="link-75" class="py-name"><a title="dependancygraph.ModuleGroup.getLibraries" class="py-name" href="#" onclick="return doclink('link-75', 'getLibraries', 'link-5');">getLibraries</a></tt><tt class="py-op">(</tt><tt class="py-name">conf</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
425 <a name="L176"></a><tt class="py-lineno">176</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">module</tt><tt class="py-op">.</tt><tt id="link-76" class="py-name"><a title="buildtools.Command.name |
|
426 ccm.FourPartName.name |
|
427 symrec.ServicePack.name |
|
428 sysdef.api.Configuration.name |
|
429 sysdef.api.Option.name |
|
430 sysdef.api.SpecialInstruction.name |
|
431 sysdef.api.Target.name |
|
432 sysdef.api.TargetList.name |
|
433 sysdef.api.Unit.name |
|
434 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-76', 'name', 'link-0');">name</a></tt><tt class="py-op">.</tt><tt class="py-name">lower</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> <tt class="py-keyword">in</tt> <tt class="py-name">line</tt><tt class="py-op">.</tt><tt class="py-name">lower</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> <tt class="py-keyword">and</tt> <tt class="py-string">'label='</tt> <tt class="py-keyword">in</tt> <tt class="py-name">line</tt><tt class="py-op">:</tt> </tt> |
|
435 <a name="L177"></a><tt class="py-lineno">177</tt> <tt class="py-line"> <tt class="py-name">newline</tt> <tt class="py-op">=</tt> <tt class="py-name">line</tt><tt class="py-op">.</tt><tt class="py-name">replace</tt><tt class="py-op">(</tt><tt class="py-string">'label='</tt><tt class="py-op">,</tt> <tt class="py-string">'color=%s,label='</tt> <tt class="py-op">%</tt> <tt class="py-name">group</tt><tt class="py-op">.</tt><tt id="link-77" class="py-name"><a title="dependancygraph.ModuleGroup.getColor" class="py-name" href="#" onclick="return doclink('link-77', 'getColor', 'link-40');">getColor</a></tt><tt class="py-op">(</tt><tt class="py-name">conf</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
436 <a name="L178"></a><tt class="py-lineno">178</tt> <tt class="py-line"> </tt> |
|
437 <a name="L179"></a><tt class="py-lineno">179</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">module</tt><tt class="py-op">.</tt><tt class="py-name">license</tt> <tt class="py-op">!=</tt> <tt class="py-string">''</tt><tt class="py-op">:</tt> </tt> |
|
438 <a name="L180"></a><tt class="py-lineno">180</tt> <tt class="py-line"> <tt class="py-name">newline</tt> <tt class="py-op">=</tt> <tt class="py-name">newline</tt><tt class="py-op">.</tt><tt class="py-name">replace</tt><tt class="py-op">(</tt><tt class="py-string">"\"];"</tt><tt class="py-op">,</tt> <tt class="py-string">"|%s\"];"</tt> <tt class="py-op">%</tt> <tt class="py-name">module</tt><tt class="py-op">.</tt><tt class="py-name">license</tt><tt class="py-op">)</tt> </tt> |
|
439 <a name="L181"></a><tt class="py-lineno">181</tt> <tt class="py-line"> </tt> |
|
440 <a name="L182"></a><tt class="py-lineno">182</tt> <tt class="py-line"> <tt class="py-keyword">break</tt> </tt> |
|
441 <a name="L183"></a><tt class="py-lineno">183</tt> <tt class="py-line"> <tt class="py-name">newgraphdata</tt><tt class="py-op">.</tt><tt id="link-78" class="py-name"><a title="ccm.Folder.append |
|
442 ccm.Task.append" class="py-name" href="#" onclick="return doclink('link-78', 'append', 'link-9');">append</a></tt><tt class="py-op">(</tt><tt class="py-name">newline</tt><tt class="py-op">)</tt> </tt> |
|
443 <a name="L184"></a><tt class="py-lineno">184</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">newgraphdata</tt> </tt> |
|
444 </div><a name="L185"></a><tt class="py-lineno">185</tt> <tt class="py-line"> </tt> |
|
445 <a name="createKey"></a><div id="createKey-def"><a name="L186"></a><tt class="py-lineno">186</tt> <a class="py-toggle" href="#" id="createKey-toggle" onclick="return toggle('createKey');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="dependancygraph-module.html#createKey">createKey</a><tt class="py-op">(</tt><tt class="py-param">group</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
446 </div><div id="createKey-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="createKey-expanded"><a name="L187"></a><tt class="py-lineno">187</tt> <tt class="py-line"> <tt class="py-name">key</tt> <tt class="py-op">=</tt> <tt class="py-string">"""subgraph cluster1 {</tt> </tt> |
|
447 <a name="L188"></a><tt class="py-lineno">188</tt> <tt class="py-line"><tt class="py-string"> label = "Key";</tt> </tt> |
|
448 <a name="L189"></a><tt class="py-lineno">189</tt> <tt class="py-line"><tt class="py-string"> style=filled;</tt> </tt> |
|
449 <a name="L190"></a><tt class="py-lineno">190</tt> <tt class="py-line"><tt class="py-string"> color=lightgrey;</tt> </tt> |
|
450 <a name="L191"></a><tt class="py-lineno">191</tt> <tt class="py-line"><tt class="py-string"> """</tt> </tt> |
|
451 <a name="L192"></a><tt class="py-lineno">192</tt> <tt class="py-line"> </tt> |
|
452 <a name="L193"></a><tt class="py-lineno">193</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">conf</tt> <tt class="py-keyword">in</tt> <tt class="py-name">group</tt><tt class="py-op">.</tt><tt class="py-name">libraries</tt><tt class="py-op">:</tt> </tt> |
|
453 <a name="L194"></a><tt class="py-lineno">194</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">conf</tt> <tt class="py-op">!=</tt> <tt id="link-79" class="py-name"><a title="dependancygraph.PYTHON_GROUP" class="py-name" href="#" onclick="return doclink('link-79', 'PYTHON_GROUP', 'link-36');">PYTHON_GROUP</a></tt> <tt class="py-keyword">and</tt> <tt class="py-name">conf</tt> <tt class="py-op">!=</tt> <tt id="link-80" class="py-name"><a title="dependancygraph.SUBCON_PYTHON_GROUP" class="py-name" href="#" onclick="return doclink('link-80', 'SUBCON_PYTHON_GROUP', 'link-37');">SUBCON_PYTHON_GROUP</a></tt><tt class="py-op">:</tt> </tt> |
|
454 <a name="L195"></a><tt class="py-lineno">195</tt> <tt class="py-line"> <tt class="py-name">key</tt> <tt class="py-op">=</tt> <tt class="py-name">key</tt> <tt class="py-op">+</tt> <tt class="py-string">"\"%s: %s\" [style=filled,color=%s];"</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">conf</tt><tt class="py-op">,</tt> <tt class="py-name">group</tt><tt class="py-op">.</tt><tt id="link-81" class="py-name" targets="Method dependancygraph.ModuleGroup.getDescription()=dependancygraph.ModuleGroup-class.html#getDescription"><a title="dependancygraph.ModuleGroup.getDescription" class="py-name" href="#" onclick="return doclink('link-81', 'getDescription', 'link-81');">getDescription</a></tt><tt class="py-op">(</tt><tt class="py-name">conf</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-name">group</tt><tt class="py-op">.</tt><tt id="link-82" class="py-name"><a title="dependancygraph.ModuleGroup.getColor" class="py-name" href="#" onclick="return doclink('link-82', 'getColor', 'link-40');">getColor</a></tt><tt class="py-op">(</tt><tt class="py-name">conf</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
455 <a name="L196"></a><tt class="py-lineno">196</tt> <tt class="py-line"> </tt> |
|
456 <a name="L197"></a><tt class="py-lineno">197</tt> <tt class="py-line"> <tt class="py-name">key</tt> <tt class="py-op">=</tt> <tt class="py-name">key</tt> <tt class="py-op">+</tt> <tt class="py-string">"}"</tt> </tt> |
|
457 <a name="L198"></a><tt class="py-lineno">198</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">key</tt> </tt> |
|
458 </div><a name="L199"></a><tt class="py-lineno">199</tt> <tt class="py-line"> </tt> |
|
459 <a name="createGraph"></a><div id="createGraph-def"><a name="L200"></a><tt class="py-lineno">200</tt> <a class="py-toggle" href="#" id="createGraph-toggle" onclick="return toggle('createGraph');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="dependancygraph-module.html#createGraph">createGraph</a><tt class="py-op">(</tt><tt class="py-param">ivyxmlfilename</tt><tt class="py-op">,</tt> <tt class="py-param">graphfilename</tt><tt class="py-op">,</tt> <tt class="py-param">dirtosearch</tt><tt class="py-op">,</tt> <tt class="py-param">internaldir</tt><tt class="py-op">,</tt> <tt class="py-param">subcon</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
460 </div><div id="createGraph-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="createGraph-expanded"><a name="L201"></a><tt class="py-lineno">201</tt> <tt class="py-line"> <tt class="py-name">readivy</tt> <tt class="py-op">=</tt> <tt id="link-83" class="py-name" targets="Class dependancygraph.ReadIvyConfig=dependancygraph.ReadIvyConfig-class.html"><a title="dependancygraph.ReadIvyConfig" class="py-name" href="#" onclick="return doclink('link-83', 'ReadIvyConfig', 'link-83');">ReadIvyConfig</a></tt><tt class="py-op">(</tt><tt class="py-name">ivyxmlfilename</tt><tt class="py-op">)</tt> </tt> |
|
461 <a name="L202"></a><tt class="py-lineno">202</tt> <tt class="py-line"> <tt class="py-name">readivy</tt><tt class="py-op">.</tt><tt id="link-84" class="py-name" targets="Method dependancygraph.ReadIvyConfig.readConfigurations()=dependancygraph.ReadIvyConfig-class.html#readConfigurations"><a title="dependancygraph.ReadIvyConfig.readConfigurations" class="py-name" href="#" onclick="return doclink('link-84', 'readConfigurations', 'link-84');">readConfigurations</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> |
|
462 <a name="L203"></a><tt class="py-lineno">203</tt> <tt class="py-line"> <tt class="py-name">readivy</tt><tt class="py-op">.</tt><tt id="link-85" class="py-name" targets="Method dependancygraph.ReadIvyConfig.readModules()=dependancygraph.ReadIvyConfig-class.html#readModules"><a title="dependancygraph.ReadIvyConfig.readModules" class="py-name" href="#" onclick="return doclink('link-85', 'readModules', 'link-85');">readModules</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> |
|
463 <a name="L204"></a><tt class="py-lineno">204</tt> <tt class="py-line"> <tt class="py-name">readivy</tt><tt class="py-op">.</tt><tt id="link-86" class="py-name" targets="Method dependancygraph.ReadIvyConfig.readSubModules()=dependancygraph.ReadIvyConfig-class.html#readSubModules"><a title="dependancygraph.ReadIvyConfig.readSubModules" class="py-name" href="#" onclick="return doclink('link-86', 'readSubModules', 'link-86');">readSubModules</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> |
|
464 <a name="L205"></a><tt class="py-lineno">205</tt> <tt class="py-line"> </tt> |
|
465 <a name="L206"></a><tt class="py-lineno">206</tt> <tt class="py-line"> <tt class="py-name">group</tt> <tt class="py-op">=</tt> <tt class="py-name">readivy</tt><tt class="py-op">.</tt><tt class="py-name">group</tt> </tt> |
|
466 <a name="L207"></a><tt class="py-lineno">207</tt> <tt class="py-line"> </tt> |
|
467 <a name="L208"></a><tt class="py-lineno">208</tt> <tt class="py-line"> <tt id="link-87" class="py-name" targets="Function dependancygraph.readEggs()=dependancygraph-module.html#readEggs"><a title="dependancygraph.readEggs" class="py-name" href="#" onclick="return doclink('link-87', 'readEggs', 'link-87');">readEggs</a></tt><tt class="py-op">(</tt><tt class="py-name">group</tt><tt class="py-op">,</tt> <tt class="py-name">dirtosearch</tt><tt class="py-op">,</tt> <tt class="py-name">internaldir</tt><tt class="py-op">)</tt> </tt> |
|
468 <a name="L209"></a><tt class="py-lineno">209</tt> <tt class="py-line"> </tt> |
|
469 <a name="L210"></a><tt class="py-lineno">210</tt> <tt class="py-line"> <tt class="py-name">key</tt> <tt class="py-op">=</tt> <tt id="link-88" class="py-name" targets="Function dependancygraph.createKey()=dependancygraph-module.html#createKey"><a title="dependancygraph.createKey" class="py-name" href="#" onclick="return doclink('link-88', 'createKey', 'link-88');">createKey</a></tt><tt class="py-op">(</tt><tt class="py-name">group</tt><tt class="py-op">)</tt> </tt> |
|
470 <a name="L211"></a><tt class="py-lineno">211</tt> <tt class="py-line"> </tt> |
|
471 <a name="L212"></a><tt class="py-lineno">212</tt> <tt class="py-line"> <tt class="py-name">graphdata</tt> <tt class="py-op">=</tt> <tt id="link-89" class="py-name" targets="Function dependancygraph.loadGraphFile()=dependancygraph-module.html#loadGraphFile"><a title="dependancygraph.loadGraphFile" class="py-name" href="#" onclick="return doclink('link-89', 'loadGraphFile', 'link-89');">loadGraphFile</a></tt><tt class="py-op">(</tt><tt class="py-name">graphfilename</tt><tt class="py-op">)</tt> </tt> |
|
472 <a name="L213"></a><tt class="py-lineno">213</tt> <tt class="py-line"> </tt> |
|
473 <a name="L214"></a><tt class="py-lineno">214</tt> <tt class="py-line"> <tt class="py-name">newgraphdata</tt> <tt class="py-op">=</tt> <tt id="link-90" class="py-name" targets="Function dependancygraph.addLicensesColors()=dependancygraph-module.html#addLicensesColors"><a title="dependancygraph.addLicensesColors" class="py-name" href="#" onclick="return doclink('link-90', 'addLicensesColors', 'link-90');">addLicensesColors</a></tt><tt class="py-op">(</tt><tt class="py-name">graphdata</tt><tt class="py-op">,</tt> <tt class="py-name">group</tt><tt class="py-op">)</tt> </tt> |
|
474 <a name="L215"></a><tt class="py-lineno">215</tt> <tt class="py-line"> </tt> |
|
475 <a name="L216"></a><tt class="py-lineno">216</tt> <tt class="py-line"> <tt class="py-comment">#add key to graph</tt> </tt> |
|
476 <a name="L217"></a><tt class="py-lineno">217</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-name">newgraphdata</tt><tt class="py-op">[</tt><tt class="py-op">-</tt><tt class="py-number">1</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">newgraphdata</tt><tt class="py-op">[</tt><tt class="py-op">-</tt><tt class="py-number">1</tt><tt class="py-op">]</tt><tt class="py-op">.</tt><tt class="py-name">replace</tt><tt class="py-op">(</tt><tt class="py-string">'}'</tt><tt class="py-op">,</tt> <tt class="py-name">key</tt> <tt class="py-op">+</tt> <tt class="py-string">'\n}'</tt><tt class="py-op">)</tt> </tt> |
|
477 <a name="L218"></a><tt class="py-lineno">218</tt> <tt class="py-line"> </tt> |
|
478 <a name="L219"></a><tt class="py-lineno">219</tt> <tt class="py-line"> <tt class="py-name">graphwritefile</tt> <tt class="py-op">=</tt> <tt class="py-name">codecs</tt><tt class="py-op">.</tt><tt class="py-name">open</tt><tt class="py-op">(</tt><tt class="py-name">graphfilename</tt><tt class="py-op">,</tt> <tt class="py-string">'w'</tt><tt class="py-op">,</tt> <tt class="py-string">'utf8'</tt><tt class="py-op">)</tt> </tt> |
|
479 <a name="L220"></a><tt class="py-lineno">220</tt> <tt class="py-line"> <tt class="py-name">graphwritefile</tt><tt class="py-op">.</tt><tt class="py-name">writelines</tt><tt class="py-op">(</tt><tt class="py-name">newgraphdata</tt><tt class="py-op">)</tt> </tt> |
|
480 <a name="L221"></a><tt class="py-lineno">221</tt> <tt class="py-line"> <tt class="py-name">graphwritefile</tt><tt class="py-op">.</tt><tt id="link-91" class="py-name"><a title="build.model.BOM.close |
|
481 build.model.SessionCreator.close |
|
482 buildtools.AbstractOutputWriter.close |
|
483 ccm.AbstractSession.close |
|
484 ccm.Session.close |
|
485 ccm.SessionPool.close |
|
486 ccm.extra.CachedSessionProvider.close |
|
487 ccm.extra.SessionProvider.close |
|
488 log2xml.LogWriter.close |
|
489 preparation.PreparationBuilder.close |
|
490 sysdef.io.FlashImageSizeWriter.close" class="py-name" href="#" onclick="return doclink('link-91', 'close', 'link-52');">close</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> |
|
491 <a name="L222"></a><tt class="py-lineno">222</tt> <tt class="py-line"> </tt> |
|
492 <a name="L223"></a><tt class="py-lineno">223</tt> <tt class="py-line"> <tt id="link-92" class="py-name" targets="Function dependancygraph.linkPythonLibs()=dependancygraph-module.html#linkPythonLibs"><a title="dependancygraph.linkPythonLibs" class="py-name" href="#" onclick="return doclink('link-92', 'linkPythonLibs', 'link-92');">linkPythonLibs</a></tt><tt class="py-op">(</tt><tt class="py-name">group</tt><tt class="py-op">,</tt> <tt class="py-name">graphfilename</tt><tt class="py-op">,</tt> <tt class="py-name">subcon</tt><tt class="py-op">)</tt> </tt> |
|
493 </div><a name="L224"></a><tt class="py-lineno">224</tt> <tt class="py-line"> </tt> |
|
494 <a name="loadGraphFile"></a><div id="loadGraphFile-def"><a name="L225"></a><tt class="py-lineno">225</tt> <a class="py-toggle" href="#" id="loadGraphFile-toggle" onclick="return toggle('loadGraphFile');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="dependancygraph-module.html#loadGraphFile">loadGraphFile</a><tt class="py-op">(</tt><tt class="py-param">graphfilename</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
495 </div><div id="loadGraphFile-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="loadGraphFile-expanded"><a name="L226"></a><tt class="py-lineno">226</tt> <tt class="py-line"> <tt class="py-name">destgraphfile</tt> <tt class="py-op">=</tt> <tt class="py-name">codecs</tt><tt class="py-op">.</tt><tt class="py-name">open</tt><tt class="py-op">(</tt><tt class="py-name">graphfilename</tt><tt class="py-op">,</tt> <tt class="py-string">'r'</tt><tt class="py-op">,</tt> <tt class="py-string">'utf8'</tt><tt class="py-op">)</tt> </tt> |
|
496 <a name="L227"></a><tt class="py-lineno">227</tt> <tt class="py-line"> <tt class="py-name">graphdata</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt> |
|
497 <a name="L228"></a><tt class="py-lineno">228</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">line</tt> <tt class="py-keyword">in</tt> <tt class="py-name">destgraphfile</tt><tt class="py-op">:</tt> </tt> |
|
498 <a name="L229"></a><tt class="py-lineno">229</tt> <tt class="py-line"> <tt class="py-name">graphdata</tt><tt class="py-op">.</tt><tt id="link-93" class="py-name"><a title="ccm.Folder.append |
|
499 ccm.Task.append" class="py-name" href="#" onclick="return doclink('link-93', 'append', 'link-9');">append</a></tt><tt class="py-op">(</tt><tt class="py-name">line</tt><tt class="py-op">)</tt> </tt> |
|
500 <a name="L230"></a><tt class="py-lineno">230</tt> <tt class="py-line"> <tt class="py-name">destgraphfile</tt><tt class="py-op">.</tt><tt id="link-94" class="py-name"><a title="build.model.BOM.close |
|
501 build.model.SessionCreator.close |
|
502 buildtools.AbstractOutputWriter.close |
|
503 ccm.AbstractSession.close |
|
504 ccm.Session.close |
|
505 ccm.SessionPool.close |
|
506 ccm.extra.CachedSessionProvider.close |
|
507 ccm.extra.SessionProvider.close |
|
508 log2xml.LogWriter.close |
|
509 preparation.PreparationBuilder.close |
|
510 sysdef.io.FlashImageSizeWriter.close" class="py-name" href="#" onclick="return doclink('link-94', 'close', 'link-52');">close</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> |
|
511 <a name="L231"></a><tt class="py-lineno">231</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">graphdata</tt> </tt> |
|
512 </div><a name="L232"></a><tt class="py-lineno">232</tt> <tt class="py-line"> </tt> |
|
513 <a name="addToGraph"></a><div id="addToGraph-def"><a name="L233"></a><tt class="py-lineno">233</tt> <a class="py-toggle" href="#" id="addToGraph-toggle" onclick="return toggle('addToGraph');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="dependancygraph-module.html#addToGraph">addToGraph</a><tt class="py-op">(</tt><tt class="py-param">graphfilenametoadd</tt><tt class="py-op">,</tt> <tt class="py-param">destgraphfilename</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
514 </div><div id="addToGraph-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="addToGraph-expanded"><a name="L234"></a><tt class="py-lineno">234</tt> <tt class="py-line"> <tt class="py-name">graphdata</tt> <tt class="py-op">=</tt> <tt id="link-95" class="py-name"><a title="dependancygraph.loadGraphFile" class="py-name" href="#" onclick="return doclink('link-95', 'loadGraphFile', 'link-89');">loadGraphFile</a></tt><tt class="py-op">(</tt><tt class="py-name">destgraphfilename</tt><tt class="py-op">)</tt> </tt> |
|
515 <a name="L235"></a><tt class="py-lineno">235</tt> <tt class="py-line"> </tt> |
|
516 <a name="L236"></a><tt class="py-lineno">236</tt> <tt class="py-line"> <tt class="py-name">graphfile</tt> <tt class="py-op">=</tt> <tt class="py-name">codecs</tt><tt class="py-op">.</tt><tt class="py-name">open</tt><tt class="py-op">(</tt><tt class="py-name">graphfilenametoadd</tt><tt class="py-op">,</tt> <tt class="py-string">'r'</tt><tt class="py-op">,</tt> <tt class="py-string">'utf8'</tt><tt class="py-op">)</tt> </tt> |
|
517 <a name="L237"></a><tt class="py-lineno">237</tt> <tt class="py-line"> <tt class="py-name">graphdatatoadd</tt> <tt class="py-op">=</tt> <tt class="py-string">''</tt> </tt> |
|
518 <a name="L238"></a><tt class="py-lineno">238</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">line</tt> <tt class="py-keyword">in</tt> <tt class="py-name">graphfile</tt><tt class="py-op">:</tt> </tt> |
|
519 <a name="L239"></a><tt class="py-lineno">239</tt> <tt class="py-line"> <tt class="py-name">line</tt> <tt class="py-op">=</tt> <tt class="py-name">line</tt><tt class="py-op">.</tt><tt class="py-name">replace</tt><tt class="py-op">(</tt><tt class="py-string">'digraph {'</tt><tt class="py-op">,</tt> <tt class="py-string">''</tt><tt class="py-op">)</tt> </tt> |
|
520 <a name="L240"></a><tt class="py-lineno">240</tt> <tt class="py-line"> <tt class="py-name">graphdatatoadd</tt> <tt class="py-op">=</tt> <tt class="py-name">graphdatatoadd</tt> <tt class="py-op">+</tt> <tt class="py-name">line</tt> </tt> |
|
521 <a name="L241"></a><tt class="py-lineno">241</tt> <tt class="py-line"> <tt class="py-name">graphfile</tt><tt class="py-op">.</tt><tt id="link-96" class="py-name"><a title="build.model.BOM.close |
|
522 build.model.SessionCreator.close |
|
523 buildtools.AbstractOutputWriter.close |
|
524 ccm.AbstractSession.close |
|
525 ccm.Session.close |
|
526 ccm.SessionPool.close |
|
527 ccm.extra.CachedSessionProvider.close |
|
528 ccm.extra.SessionProvider.close |
|
529 log2xml.LogWriter.close |
|
530 preparation.PreparationBuilder.close |
|
531 sysdef.io.FlashImageSizeWriter.close" class="py-name" href="#" onclick="return doclink('link-96', 'close', 'link-52');">close</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> |
|
532 <a name="L242"></a><tt class="py-lineno">242</tt> <tt class="py-line"> </tt> |
|
533 <a name="L243"></a><tt class="py-lineno">243</tt> <tt class="py-line"> <tt class="py-name">graphdata</tt><tt class="py-op">[</tt><tt class="py-op">-</tt><tt class="py-number">1</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">graphdata</tt><tt class="py-op">[</tt><tt class="py-op">-</tt><tt class="py-number">1</tt><tt class="py-op">]</tt><tt class="py-op">.</tt><tt class="py-name">replace</tt><tt class="py-op">(</tt><tt class="py-string">'}'</tt><tt class="py-op">,</tt> <tt class="py-name">graphdatatoadd</tt><tt class="py-op">)</tt> </tt> |
|
534 <a name="L244"></a><tt class="py-lineno">244</tt> <tt class="py-line"> </tt> |
|
535 <a name="L245"></a><tt class="py-lineno">245</tt> <tt class="py-line"> <tt class="py-name">graphwritefile</tt> <tt class="py-op">=</tt> <tt class="py-name">codecs</tt><tt class="py-op">.</tt><tt class="py-name">open</tt><tt class="py-op">(</tt><tt class="py-name">destgraphfilename</tt><tt class="py-op">,</tt> <tt class="py-string">'w'</tt><tt class="py-op">,</tt> <tt class="py-string">'utf8'</tt><tt class="py-op">)</tt> </tt> |
|
536 <a name="L246"></a><tt class="py-lineno">246</tt> <tt class="py-line"> <tt class="py-name">graphwritefile</tt><tt class="py-op">.</tt><tt class="py-name">writelines</tt><tt class="py-op">(</tt><tt class="py-name">graphdata</tt><tt class="py-op">)</tt> </tt> |
|
537 <a name="L247"></a><tt class="py-lineno">247</tt> <tt class="py-line"> <tt class="py-name">graphwritefile</tt><tt class="py-op">.</tt><tt id="link-97" class="py-name"><a title="build.model.BOM.close |
|
538 build.model.SessionCreator.close |
|
539 buildtools.AbstractOutputWriter.close |
|
540 ccm.AbstractSession.close |
|
541 ccm.Session.close |
|
542 ccm.SessionPool.close |
|
543 ccm.extra.CachedSessionProvider.close |
|
544 ccm.extra.SessionProvider.close |
|
545 log2xml.LogWriter.close |
|
546 preparation.PreparationBuilder.close |
|
547 sysdef.io.FlashImageSizeWriter.close" class="py-name" href="#" onclick="return doclink('link-97', 'close', 'link-52');">close</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> |
|
548 </div><a name="L248"></a><tt class="py-lineno">248</tt> <tt class="py-line"> </tt> |
|
549 <a name="linkPythonLibs"></a><div id="linkPythonLibs-def"><a name="L249"></a><tt class="py-lineno">249</tt> <a class="py-toggle" href="#" id="linkPythonLibs-toggle" onclick="return toggle('linkPythonLibs');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="dependancygraph-module.html#linkPythonLibs">linkPythonLibs</a><tt class="py-op">(</tt><tt class="py-param">libraries</tt><tt class="py-op">,</tt> <tt class="py-param">destgraphfilename</tt><tt class="py-op">,</tt> <tt class="py-param">subcon</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
550 </div><a name="L250"></a><tt class="py-lineno">250</tt> <tt class="py-line"> <tt class="py-name">graphdata</tt> <tt class="py-op">=</tt> <tt id="link-98" class="py-name"><a title="dependancygraph.loadGraphFile" class="py-name" href="#" onclick="return doclink('link-98', 'loadGraphFile', 'link-89');">loadGraphFile</a></tt><tt class="py-op">(</tt><tt class="py-name">destgraphfilename</tt><tt class="py-op">)</tt> </tt> |
|
551 <a name="L251"></a><tt class="py-lineno">251</tt> <tt class="py-line"> </tt> |
|
552 <a name="L252"></a><tt class="py-lineno">252</tt> <tt class="py-line"> <tt id="link-99" class="py-name" targets="Variable ccm.Result.output=ccm.Result-class.html#output,Package helium.output=helium.output-module.html"><a title="ccm.Result.output |
|
553 helium.output" class="py-name" href="#" onclick="return doclink('link-99', 'output', 'link-99');">output</a></tt> <tt class="py-op">=</tt> <tt class="py-string">"helium_ant -> helium_python;\n"</tt> </tt> |
|
554 <a name="L253"></a><tt class="py-lineno">253</tt> <tt class="py-line"> </tt> |
|
555 <a name="L254"></a><tt class="py-lineno">254</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">subcon</tt><tt class="py-op">:</tt> </tt> |
|
556 <a name="L255"></a><tt class="py-lineno">255</tt> <tt class="py-line"> <tt class="py-name">list</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt id="link-100" class="py-name"><a title="dependancygraph.SUBCON_PYTHON_GROUP" class="py-name" href="#" onclick="return doclink('link-100', 'SUBCON_PYTHON_GROUP', 'link-37');">SUBCON_PYTHON_GROUP</a></tt><tt class="py-op">]</tt> </tt> |
|
557 <a name="L256"></a><tt class="py-lineno">256</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt> |
|
558 <a name="L257"></a><tt class="py-lineno">257</tt> <tt class="py-line"> <tt class="py-name">list</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt id="link-101" class="py-name"><a title="dependancygraph.SUBCON_PYTHON_GROUP" class="py-name" href="#" onclick="return doclink('link-101', 'SUBCON_PYTHON_GROUP', 'link-37');">SUBCON_PYTHON_GROUP</a></tt><tt class="py-op">,</tt> <tt id="link-102" class="py-name"><a title="dependancygraph.PYTHON_GROUP" class="py-name" href="#" onclick="return doclink('link-102', 'PYTHON_GROUP', 'link-36');">PYTHON_GROUP</a></tt><tt class="py-op">]</tt> </tt> |
|
559 <a name="L258"></a><tt class="py-lineno">258</tt> <tt class="py-line"> </tt> |
|
560 <a name="L259"></a><tt class="py-lineno">259</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">group</tt> <tt class="py-keyword">in</tt> <tt class="py-name">list</tt><tt class="py-op">:</tt> </tt> |
|
561 <a name="L260"></a><tt class="py-lineno">260</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">lib</tt> <tt class="py-keyword">in</tt> <tt class="py-name">libraries</tt><tt class="py-op">.</tt><tt id="link-103" class="py-name"><a title="dependancygraph.ModuleGroup.getLibraries" class="py-name" href="#" onclick="return doclink('link-103', 'getLibraries', 'link-5');">getLibraries</a></tt><tt class="py-op">(</tt><tt class="py-name">group</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
562 <a name="L261"></a><tt class="py-lineno">261</tt> <tt class="py-line"> <tt id="link-104" class="py-name"><a title="ccm.Result.output |
|
563 helium.output" class="py-name" href="#" onclick="return doclink('link-104', 'output', 'link-99');">output</a></tt> <tt class="py-op">=</tt> <tt id="link-105" class="py-name"><a title="ccm.Result.output |
|
564 helium.output" class="py-name" href="#" onclick="return doclink('link-105', 'output', 'link-99');">output</a></tt> <tt class="py-op">+</tt> <tt class="py-op">(</tt><tt class="py-string">"helium_python -> \"%s\";\n"</tt> <tt class="py-op">%</tt> <tt class="py-name">lib</tt><tt class="py-op">.</tt><tt id="link-106" class="py-name"><a title="buildtools.Command.name |
|
565 ccm.FourPartName.name |
|
566 symrec.ServicePack.name |
|
567 sysdef.api.Configuration.name |
|
568 sysdef.api.Option.name |
|
569 sysdef.api.SpecialInstruction.name |
|
570 sysdef.api.Target.name |
|
571 sysdef.api.TargetList.name |
|
572 sysdef.api.Unit.name |
|
573 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-106', 'name', 'link-0');">name</a></tt><tt class="py-op">)</tt> </tt> |
|
574 <a name="L262"></a><tt class="py-lineno">262</tt> <tt class="py-line"> <tt id="link-107" class="py-name"><a title="ccm.Result.output |
|
575 helium.output" class="py-name" href="#" onclick="return doclink('link-107', 'output', 'link-99');">output</a></tt> <tt class="py-op">=</tt> <tt id="link-108" class="py-name"><a title="ccm.Result.output |
|
576 helium.output" class="py-name" href="#" onclick="return doclink('link-108', 'output', 'link-99');">output</a></tt> <tt class="py-op">+</tt> <tt class="py-op">(</tt><tt class="py-string">"\"%s\" [style=filled,shape=record,color=%s,label=\"%s %s|%s\"];\n"</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">lib</tt><tt class="py-op">.</tt><tt id="link-109" class="py-name"><a title="buildtools.Command.name |
|
577 ccm.FourPartName.name |
|
578 symrec.ServicePack.name |
|
579 sysdef.api.Configuration.name |
|
580 sysdef.api.Option.name |
|
581 sysdef.api.SpecialInstruction.name |
|
582 sysdef.api.Target.name |
|
583 sysdef.api.TargetList.name |
|
584 sysdef.api.Unit.name |
|
585 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-109', 'name', 'link-0');">name</a></tt><tt class="py-op">,</tt> <tt class="py-name">libraries</tt><tt class="py-op">.</tt><tt id="link-110" class="py-name"><a title="dependancygraph.ModuleGroup.getColor" class="py-name" href="#" onclick="return doclink('link-110', 'getColor', 'link-40');">getColor</a></tt><tt class="py-op">(</tt><tt class="py-name">group</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-name">lib</tt><tt class="py-op">.</tt><tt id="link-111" class="py-name"><a title="buildtools.Command.name |
|
586 ccm.FourPartName.name |
|
587 symrec.ServicePack.name |
|
588 sysdef.api.Configuration.name |
|
589 sysdef.api.Option.name |
|
590 sysdef.api.SpecialInstruction.name |
|
591 sysdef.api.Target.name |
|
592 sysdef.api.TargetList.name |
|
593 sysdef.api.Unit.name |
|
594 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-111', 'name', 'link-0');">name</a></tt><tt class="py-op">,</tt> <tt class="py-name">lib</tt><tt class="py-op">.</tt><tt id="link-112" class="py-name"><a title="ccm.FourPartName.version |
|
595 version" class="py-name" href="#" onclick="return doclink('link-112', 'version', 'link-2');">version</a></tt><tt class="py-op">,</tt> <tt class="py-name">lib</tt><tt class="py-op">.</tt><tt class="py-name">license</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
596 <a name="L263"></a><tt class="py-lineno">263</tt> <tt class="py-line"> </tt> |
|
597 <a name="L264"></a><tt class="py-lineno">264</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">require</tt> <tt class="py-keyword">in</tt> <tt class="py-name">lib</tt><tt class="py-op">.</tt><tt class="py-name">requires</tt><tt class="py-op">:</tt> </tt> |
|
598 <a name="L265"></a><tt class="py-lineno">265</tt> <tt class="py-line"> <tt id="link-113" class="py-name"><a title="ccm.Result.output |
|
599 helium.output" class="py-name" href="#" onclick="return doclink('link-113', 'output', 'link-99');">output</a></tt> <tt class="py-op">=</tt> <tt id="link-114" class="py-name"><a title="ccm.Result.output |
|
600 helium.output" class="py-name" href="#" onclick="return doclink('link-114', 'output', 'link-99');">output</a></tt> <tt class="py-op">+</tt> <tt class="py-op">(</tt><tt class="py-string">"\"%s\" -> \"%s\";\n"</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">lib</tt><tt class="py-op">.</tt><tt id="link-115" class="py-name"><a title="buildtools.Command.name |
|
601 ccm.FourPartName.name |
|
602 symrec.ServicePack.name |
|
603 sysdef.api.Configuration.name |
|
604 sysdef.api.Option.name |
|
605 sysdef.api.SpecialInstruction.name |
|
606 sysdef.api.Target.name |
|
607 sysdef.api.TargetList.name |
|
608 sysdef.api.Unit.name |
|
609 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-115', 'name', 'link-0');">name</a></tt><tt class="py-op">,</tt> <tt class="py-name">require</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
610 <a name="L266"></a><tt class="py-lineno">266</tt> <tt class="py-line"> </tt> |
|
611 <a name="L267"></a><tt class="py-lineno">267</tt> <tt class="py-line"> <tt class="py-name">graphdata</tt><tt class="py-op">.</tt><tt class="py-name">reverse</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> |
|
612 <a name="L268"></a><tt class="py-lineno">268</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">line</tt> <tt class="py-keyword">in</tt> <tt class="py-name">graphdata</tt><tt class="py-op">:</tt> </tt> |
|
613 <a name="L269"></a><tt class="py-lineno">269</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">line</tt><tt class="py-op">.</tt><tt class="py-name">strip</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> <tt class="py-op">==</tt> <tt class="py-string">''</tt><tt class="py-op">:</tt> </tt> |
|
614 <a name="L270"></a><tt class="py-lineno">270</tt> <tt class="py-line"> <tt class="py-name">graphdata</tt><tt class="py-op">.</tt><tt id="link-116" class="py-name"><a title="log2xml.Stack.pop" class="py-name" href="#" onclick="return doclink('link-116', 'pop', 'link-15');">pop</a></tt><tt class="py-op">(</tt><tt class="py-number">0</tt><tt class="py-op">)</tt> </tt> |
|
615 <a name="L271"></a><tt class="py-lineno">271</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt> |
|
616 <a name="L272"></a><tt class="py-lineno">272</tt> <tt class="py-line"> <tt class="py-keyword">break</tt> </tt> |
|
617 <a name="L273"></a><tt class="py-lineno">273</tt> <tt class="py-line"> <tt class="py-name">graphdata</tt><tt class="py-op">.</tt><tt class="py-name">reverse</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> |
|
618 <a name="L274"></a><tt class="py-lineno">274</tt> <tt class="py-line"> </tt> |
|
619 <a name="L275"></a><tt class="py-lineno">275</tt> <tt class="py-line"> <tt class="py-name">graphdata</tt><tt class="py-op">[</tt><tt class="py-op">-</tt><tt class="py-number">1</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">graphdata</tt><tt class="py-op">[</tt><tt class="py-op">-</tt><tt class="py-number">1</tt><tt class="py-op">]</tt><tt class="py-op">.</tt><tt class="py-name">replace</tt><tt class="py-op">(</tt><tt class="py-string">'}'</tt><tt class="py-op">,</tt> <tt id="link-117" class="py-name"><a title="ccm.Result.output |
|
620 helium.output" class="py-name" href="#" onclick="return doclink('link-117', 'output', 'link-99');">output</a></tt> <tt class="py-op">+</tt> <tt class="py-string">'}'</tt><tt class="py-op">)</tt> </tt> |
|
621 <a name="L276"></a><tt class="py-lineno">276</tt> <tt class="py-line"> </tt> |
|
622 <a name="L277"></a><tt class="py-lineno">277</tt> <tt class="py-line"> <tt class="py-name">graphwritefile</tt> <tt class="py-op">=</tt> <tt class="py-name">codecs</tt><tt class="py-op">.</tt><tt class="py-name">open</tt><tt class="py-op">(</tt><tt class="py-name">destgraphfilename</tt><tt class="py-op">,</tt> <tt class="py-string">'w'</tt><tt class="py-op">,</tt> <tt class="py-string">'utf8'</tt><tt class="py-op">)</tt> </tt> |
|
623 <a name="L278"></a><tt class="py-lineno">278</tt> <tt class="py-line"> <tt class="py-name">graphwritefile</tt><tt class="py-op">.</tt><tt class="py-name">writelines</tt><tt class="py-op">(</tt><tt class="py-name">graphdata</tt><tt class="py-op">)</tt> </tt> |
|
624 <a name="L279"></a><tt class="py-lineno">279</tt> <tt class="py-line"> <tt class="py-name">graphwritefile</tt><tt class="py-op">.</tt><tt id="link-118" class="py-name"><a title="build.model.BOM.close |
|
625 build.model.SessionCreator.close |
|
626 buildtools.AbstractOutputWriter.close |
|
627 ccm.AbstractSession.close |
|
628 ccm.Session.close |
|
629 ccm.SessionPool.close |
|
630 ccm.extra.CachedSessionProvider.close |
|
631 ccm.extra.SessionProvider.close |
|
632 log2xml.LogWriter.close |
|
633 preparation.PreparationBuilder.close |
|
634 sysdef.io.FlashImageSizeWriter.close" class="py-name" href="#" onclick="return doclink('link-118', 'close', 'link-52');">close</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> |
|
635 </div><a name="L280"></a><tt class="py-lineno">280</tt> <tt class="py-line"> </tt> |
|
636 <a name="externalDependancies"></a><div id="externalDependancies-def"><a name="L281"></a><tt class="py-lineno">281</tt> <a class="py-toggle" href="#" id="externalDependancies-toggle" onclick="return toggle('externalDependancies');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="dependancygraph-module.html#externalDependancies">externalDependancies</a><tt class="py-op">(</tt><tt class="py-param">database</tt><tt class="py-op">,</tt> <tt class="py-param">output</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
637 </div><div id="externalDependancies-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="externalDependancies-expanded"><a name="L282"></a><tt class="py-lineno">282</tt> <tt class="py-line"> <tt class="py-name">out</tt> <tt class="py-op">=</tt> <tt class="py-name">open</tt><tt class="py-op">(</tt><tt id="link-119" class="py-name"><a title="ccm.Result.output |
|
638 helium.output" class="py-name" href="#" onclick="return doclink('link-119', 'output', 'link-99');">output</a></tt><tt class="py-op">,</tt> <tt class="py-string">'w'</tt><tt class="py-op">)</tt> </tt> |
|
639 <a name="L283"></a><tt class="py-lineno">283</tt> <tt class="py-line"> <tt class="py-name">db</tt> <tt class="py-op">=</tt> <tt class="py-name">amara</tt><tt class="py-op">.</tt><tt id="link-120" class="py-name"><a title="bsf.BSF.parse |
|
640 symbian.log.Parser.parse" class="py-name" href="#" onclick="return doclink('link-120', 'parse', 'link-11');">parse</a></tt><tt class="py-op">(</tt><tt class="py-name">Uri</tt><tt class="py-op">.</tt><tt class="py-name">OsPathToUri</tt><tt class="py-op">(</tt><tt id="link-121" class="py-name" targets="Method ccm.AbstractSession.database()=ccm.AbstractSession-class.html#database"><a title="ccm.AbstractSession.database" class="py-name" href="#" onclick="return doclink('link-121', 'database', 'link-121');">database</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
641 <a name="L284"></a><tt class="py-lineno">284</tt> <tt class="py-line"> <tt class="py-name">out</tt><tt class="py-op">.</tt><tt id="link-122" class="py-name" targets="Method archive.builders.ArchivePreBuilder.write()=archive.builders.ArchivePreBuilder-class.html#write,Method build.model.BOMDeltaXMLWriter.write()=build.model.BOMDeltaXMLWriter-class.html#write,Method build.model.BOMXMLWriter.write()=build.model.BOMXMLWriter-class.html#write,Method buildtools.AbstractOutputWriter.write()=buildtools.AbstractOutputWriter-class.html#write,Method buildtools.AntWriter.write()=buildtools.AntWriter-class.html#write,Method buildtools.EBSWriter.write()=buildtools.EBSWriter-class.html#write,Method buildtools.MakeWriter.write()=buildtools.MakeWriter-class.html#write,Method buildtools.StringWriter.write()=buildtools.StringWriter-class.html#write,Method flash_config.FlashConfigurationWriter.write()=flash_config.FlashConfigurationWriter-class.html#write,Method helium.documentation.APIDeltaWriter.write()=helium.documentation.APIDeltaWriter-class.html#write,Method sis.SisPreBuilder.write()=sis.SisPreBuilder-class.html#write,Method sysdef.io.FlashImageSizeWriter.write()=sysdef.io.FlashImageSizeWriter-class.html#write,Method sysdef.io.MakeWriter.write()=sysdef.io.MakeWriter-class.html#write,Method sysdef.io.MakeWriter2.write()=sysdef.io.MakeWriter2-class.html#write,Method sysdef.io.MakeWriter3.write()=sysdef.io.MakeWriter3-class.html#write,Method version.Version.write()=version.Version-class.html#write"><a title="archive.builders.ArchivePreBuilder.write |
|
642 build.model.BOMDeltaXMLWriter.write |
|
643 build.model.BOMXMLWriter.write |
|
644 buildtools.AbstractOutputWriter.write |
|
645 buildtools.AntWriter.write |
|
646 buildtools.EBSWriter.write |
|
647 buildtools.MakeWriter.write |
|
648 buildtools.StringWriter.write |
|
649 flash_config.FlashConfigurationWriter.write |
|
650 helium.documentation.APIDeltaWriter.write |
|
651 sis.SisPreBuilder.write |
|
652 sysdef.io.FlashImageSizeWriter.write |
|
653 sysdef.io.MakeWriter.write |
|
654 sysdef.io.MakeWriter2.write |
|
655 sysdef.io.MakeWriter3.write |
|
656 version.Version.write" class="py-name" href="#" onclick="return doclink('link-122', 'write', 'link-122');">write</a></tt><tt class="py-op">(</tt><tt class="py-string">'digraph G {\n'</tt><tt class="py-op">)</tt> </tt> |
|
657 <a name="L285"></a><tt class="py-lineno">285</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">p</tt> <tt class="py-keyword">in</tt> <tt class="py-name">db</tt><tt class="py-op">.</tt><tt class="py-name">antDatabase</tt><tt class="py-op">.</tt><tt id="link-123" class="py-name" targets="Method ccm.ProjectCheckoutResult.project()=ccm.ProjectCheckoutResult-class.html#project"><a title="ccm.ProjectCheckoutResult.project" class="py-name" href="#" onclick="return doclink('link-123', 'project', 'link-123');">project</a></tt><tt class="py-op">:</tt> </tt> |
|
658 <a name="L286"></a><tt class="py-lineno">286</tt> <tt class="py-line"> <tt class="py-name">items</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt> |
|
659 <a name="L287"></a><tt class="py-lineno">287</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">hasattr</tt><tt class="py-op">(</tt><tt class="py-name">p</tt><tt class="py-op">,</tt> <tt class="py-string">'property'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
660 <a name="L288"></a><tt class="py-lineno">288</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">prop</tt> <tt class="py-keyword">in</tt> <tt class="py-name">p</tt><tt class="py-op">.</tt><tt class="py-name">property</tt><tt class="py-op">:</tt> </tt> |
|
661 <a name="L289"></a><tt class="py-lineno">289</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-string">'external'</tt> <tt class="py-op">+</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">sep</tt> <tt class="py-keyword">in</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt id="link-124" class="py-name"><a title="buildtools.Command.path |
|
662 sysdef.api.SpecialInstruction.path |
|
663 sysdef.api.Unit.path" class="py-name" href="#" onclick="return doclink('link-124', 'path', 'link-23');">path</a></tt><tt class="py-op">.</tt><tt class="py-name">abspath</tt><tt class="py-op">(</tt><tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">prop</tt><tt class="py-op">.</tt><tt class="py-name">defaultValue</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
664 <a name="L290"></a><tt class="py-lineno">290</tt> <tt class="py-line"> <tt class="py-name">items</tt><tt class="py-op">.</tt><tt id="link-125" class="py-name"><a title="ccm.Folder.append |
|
665 ccm.Task.append" class="py-name" href="#" onclick="return doclink('link-125', 'append', 'link-9');">append</a></tt><tt class="py-op">(</tt><tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">prop</tt><tt class="py-op">.</tt><tt class="py-name">defaultValue</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
666 <a name="L291"></a><tt class="py-lineno">291</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">hasattr</tt><tt class="py-op">(</tt><tt class="py-name">p</tt><tt class="py-op">,</tt> <tt class="py-string">'fileDependency'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
667 <a name="L292"></a><tt class="py-lineno">292</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">dep</tt> <tt class="py-keyword">in</tt> <tt class="py-name">p</tt><tt class="py-op">.</tt><tt class="py-name">fileDependency</tt><tt class="py-op">:</tt> </tt> |
|
668 <a name="L293"></a><tt class="py-lineno">293</tt> <tt class="py-line"> <tt class="py-name">dep</tt> <tt class="py-op">=</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">dep</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">split</tt><tt class="py-op">(</tt><tt class="py-string">' '</tt><tt class="py-op">)</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt> </tt> |
|
669 <a name="L294"></a><tt class="py-lineno">294</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-string">'external'</tt> <tt class="py-op">+</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">sep</tt> <tt class="py-keyword">in</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt id="link-126" class="py-name"><a title="buildtools.Command.path |
|
670 sysdef.api.SpecialInstruction.path |
|
671 sysdef.api.Unit.path" class="py-name" href="#" onclick="return doclink('link-126', 'path', 'link-23');">path</a></tt><tt class="py-op">.</tt><tt class="py-name">abspath</tt><tt class="py-op">(</tt><tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">dep</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
672 <a name="L295"></a><tt class="py-lineno">295</tt> <tt class="py-line"> <tt class="py-name">items</tt><tt class="py-op">.</tt><tt id="link-127" class="py-name"><a title="ccm.Folder.append |
|
673 ccm.Task.append" class="py-name" href="#" onclick="return doclink('link-127', 'append', 'link-9');">append</a></tt><tt class="py-op">(</tt><tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">dep</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
674 <a name="L296"></a><tt class="py-lineno">296</tt> <tt class="py-line"> </tt> |
|
675 <a name="L297"></a><tt class="py-lineno">297</tt> <tt class="py-line"> <tt class="py-name">items</tt> <tt class="py-op">=</tt> <tt class="py-name">set</tt><tt class="py-op">(</tt><tt class="py-name">items</tt><tt class="py-op">)</tt> </tt> |
|
676 <a name="L298"></a><tt class="py-lineno">298</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">i</tt> <tt class="py-keyword">in</tt> <tt class="py-name">items</tt><tt class="py-op">:</tt> </tt> |
|
677 <a name="L299"></a><tt class="py-lineno">299</tt> <tt class="py-line"> <tt class="py-name">out</tt><tt class="py-op">.</tt><tt id="link-128" class="py-name"><a title="archive.builders.ArchivePreBuilder.write |
|
678 build.model.BOMDeltaXMLWriter.write |
|
679 build.model.BOMXMLWriter.write |
|
680 buildtools.AbstractOutputWriter.write |
|
681 buildtools.AntWriter.write |
|
682 buildtools.EBSWriter.write |
|
683 buildtools.MakeWriter.write |
|
684 buildtools.StringWriter.write |
|
685 flash_config.FlashConfigurationWriter.write |
|
686 helium.documentation.APIDeltaWriter.write |
|
687 sis.SisPreBuilder.write |
|
688 sysdef.io.FlashImageSizeWriter.write |
|
689 sysdef.io.MakeWriter.write |
|
690 sysdef.io.MakeWriter2.write |
|
691 sysdef.io.MakeWriter3.write |
|
692 version.Version.write" class="py-name" href="#" onclick="return doclink('link-128', 'write', 'link-122');">write</a></tt><tt class="py-op">(</tt><tt class="py-string">'\"%s\" -> \"%s\"\n'</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">p</tt><tt class="py-op">.</tt><tt id="link-129" class="py-name"><a title="buildtools.Command.name |
|
693 ccm.FourPartName.name |
|
694 symrec.ServicePack.name |
|
695 sysdef.api.Configuration.name |
|
696 sysdef.api.Option.name |
|
697 sysdef.api.SpecialInstruction.name |
|
698 sysdef.api.Target.name |
|
699 sysdef.api.TargetList.name |
|
700 sysdef.api.Unit.name |
|
701 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-129', 'name', 'link-0');">name</a></tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-name">i</tt><tt class="py-op">.</tt><tt class="py-name">replace</tt><tt class="py-op">(</tt><tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">environ</tt><tt class="py-op">[</tt><tt class="py-string">'HELIUM_HOME'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> <tt class="py-string">'helium'</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">replace</tt><tt class="py-op">(</tt><tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">sep</tt><tt class="py-op">,</tt> <tt class="py-string">'/'</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
702 <a name="L300"></a><tt class="py-lineno">300</tt> <tt class="py-line"> <tt class="py-name">out</tt><tt class="py-op">.</tt><tt id="link-130" class="py-name"><a title="archive.builders.ArchivePreBuilder.write |
|
703 build.model.BOMDeltaXMLWriter.write |
|
704 build.model.BOMXMLWriter.write |
|
705 buildtools.AbstractOutputWriter.write |
|
706 buildtools.AntWriter.write |
|
707 buildtools.EBSWriter.write |
|
708 buildtools.MakeWriter.write |
|
709 buildtools.StringWriter.write |
|
710 flash_config.FlashConfigurationWriter.write |
|
711 helium.documentation.APIDeltaWriter.write |
|
712 sis.SisPreBuilder.write |
|
713 sysdef.io.FlashImageSizeWriter.write |
|
714 sysdef.io.MakeWriter.write |
|
715 sysdef.io.MakeWriter2.write |
|
716 sysdef.io.MakeWriter3.write |
|
717 version.Version.write" class="py-name" href="#" onclick="return doclink('link-130', 'write', 'link-122');">write</a></tt><tt class="py-op">(</tt><tt class="py-string">'}'</tt><tt class="py-op">)</tt> </tt> |
|
718 <a name="L301"></a><tt class="py-lineno">301</tt> <tt class="py-line"> <tt class="py-name">out</tt><tt class="py-op">.</tt><tt id="link-131" class="py-name"><a title="build.model.BOM.close |
|
719 build.model.SessionCreator.close |
|
720 buildtools.AbstractOutputWriter.close |
|
721 ccm.AbstractSession.close |
|
722 ccm.Session.close |
|
723 ccm.SessionPool.close |
|
724 ccm.extra.CachedSessionProvider.close |
|
725 ccm.extra.SessionProvider.close |
|
726 log2xml.LogWriter.close |
|
727 preparation.PreparationBuilder.close |
|
728 sysdef.io.FlashImageSizeWriter.close" class="py-name" href="#" onclick="return doclink('link-131', 'close', 'link-52');">close</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> |
|
729 </div><a name="L302"></a><tt class="py-lineno">302</tt> <tt class="py-line"> </tt> |
|
730 <a name="appendLogs"></a><div id="appendLogs-def"><a name="L303"></a><tt class="py-lineno">303</tt> <a class="py-toggle" href="#" id="appendLogs-toggle" onclick="return toggle('appendLogs');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="dependancygraph-module.html#appendLogs">appendLogs</a><tt class="py-op">(</tt><tt class="py-param">t</tt><tt class="py-op">,</tt> <tt class="py-param">p</tt><tt class="py-op">,</tt> <tt class="py-param">output</tt><tt class="py-op">,</tt> <tt class="py-param">macro</tt><tt class="py-op">=</tt><tt class="py-name">False</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
731 </div><div id="appendLogs-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="appendLogs-expanded"><a name="L304"></a><tt class="py-lineno">304</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">hasattr</tt><tt class="py-op">(</tt><tt class="py-name">t</tt><tt class="py-op">,</tt> <tt class="py-string">'signal'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
732 <a name="L305"></a><tt class="py-lineno">305</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">signal</tt> <tt class="py-keyword">in</tt> <tt class="py-name">t</tt><tt class="py-op">.</tt><tt class="py-name">signal</tt><tt class="py-op">:</tt> </tt> |
|
733 <a name="L306"></a><tt class="py-lineno">306</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">macro</tt><tt class="py-op">:</tt> </tt> |
|
734 <a name="L307"></a><tt class="py-lineno">307</tt> <tt class="py-line"> <tt id="link-132" class="py-name"><a title="ccm.Result.output |
|
735 helium.output" class="py-name" href="#" onclick="return doclink('link-132', 'output', 'link-99');">output</a></tt><tt class="py-op">.</tt><tt id="link-133" class="py-name"><a title="ccm.Folder.append |
|
736 ccm.Task.append" class="py-name" href="#" onclick="return doclink('link-133', 'append', 'link-9');">append</a></tt><tt class="py-op">(</tt><tt class="py-string">"\"%s\" [fontname=\"Times-Italic\"];"</tt> <tt class="py-op">%</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">t</tt><tt class="py-op">.</tt><tt id="link-134" class="py-name"><a title="buildtools.Command.name |
|
737 ccm.FourPartName.name |
|
738 symrec.ServicePack.name |
|
739 sysdef.api.Configuration.name |
|
740 sysdef.api.Option.name |
|
741 sysdef.api.SpecialInstruction.name |
|
742 sysdef.api.Target.name |
|
743 sysdef.api.TargetList.name |
|
744 sysdef.api.Unit.name |
|
745 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-134', 'name', 'link-0');">name</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
746 <a name="L308"></a><tt class="py-lineno">308</tt> <tt class="py-line"> <tt id="link-135" class="py-name"><a title="ccm.Result.output |
|
747 helium.output" class="py-name" href="#" onclick="return doclink('link-135', 'output', 'link-99');">output</a></tt><tt class="py-op">.</tt><tt id="link-136" class="py-name"><a title="ccm.Folder.append |
|
748 ccm.Task.append" class="py-name" href="#" onclick="return doclink('link-136', 'append', 'link-9');">append</a></tt><tt class="py-op">(</tt><tt class="py-string">'subgraph \"cluster%s\" {label = \"%s\"; \"%s\"}\n'</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">p</tt><tt class="py-op">.</tt><tt id="link-137" class="py-name"><a title="buildtools.Command.name |
|
749 ccm.FourPartName.name |
|
750 symrec.ServicePack.name |
|
751 sysdef.api.Configuration.name |
|
752 sysdef.api.Option.name |
|
753 sysdef.api.SpecialInstruction.name |
|
754 sysdef.api.Target.name |
|
755 sysdef.api.TargetList.name |
|
756 sysdef.api.Unit.name |
|
757 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-137', 'name', 'link-0');">name</a></tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">p</tt><tt class="py-op">.</tt><tt id="link-138" class="py-name"><a title="buildtools.Command.name |
|
758 ccm.FourPartName.name |
|
759 symrec.ServicePack.name |
|
760 sysdef.api.Configuration.name |
|
761 sysdef.api.Option.name |
|
762 sysdef.api.SpecialInstruction.name |
|
763 sysdef.api.Target.name |
|
764 sysdef.api.TargetList.name |
|
765 sysdef.api.Unit.name |
|
766 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-138', 'name', 'link-0');">name</a></tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">t</tt><tt class="py-op">.</tt><tt id="link-139" class="py-name"><a title="buildtools.Command.name |
|
767 ccm.FourPartName.name |
|
768 symrec.ServicePack.name |
|
769 sysdef.api.Configuration.name |
|
770 sysdef.api.Option.name |
|
771 sysdef.api.SpecialInstruction.name |
|
772 sysdef.api.Target.name |
|
773 sysdef.api.TargetList.name |
|
774 sysdef.api.Unit.name |
|
775 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-139', 'name', 'link-0');">name</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
776 <a name="L309"></a><tt class="py-lineno">309</tt> <tt class="py-line"> <tt id="link-140" class="py-name"><a title="ccm.Result.output |
|
777 helium.output" class="py-name" href="#" onclick="return doclink('link-140', 'output', 'link-99');">output</a></tt><tt class="py-op">.</tt><tt id="link-141" class="py-name"><a title="ccm.Folder.append |
|
778 ccm.Task.append" class="py-name" href="#" onclick="return doclink('link-141', 'append', 'link-9');">append</a></tt><tt class="py-op">(</tt><tt class="py-string">'\"%s\" -> \"%s\" [style=dotted]\n'</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">t</tt><tt class="py-op">.</tt><tt id="link-142" class="py-name"><a title="buildtools.Command.name |
|
779 ccm.FourPartName.name |
|
780 symrec.ServicePack.name |
|
781 sysdef.api.Configuration.name |
|
782 sysdef.api.Option.name |
|
783 sysdef.api.SpecialInstruction.name |
|
784 sysdef.api.Target.name |
|
785 sysdef.api.TargetList.name |
|
786 sysdef.api.Unit.name |
|
787 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-142', 'name', 'link-0');">name</a></tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-name">signal</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
788 <a name="L310"></a><tt class="py-lineno">310</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">hasattr</tt><tt class="py-op">(</tt><tt class="py-name">t</tt><tt class="py-op">,</tt> <tt class="py-string">'log'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
789 <a name="L311"></a><tt class="py-lineno">311</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt id="link-143" class="py-name" targets="Method configuration_model.Item.log()=configuration_model.Item-class.html#log,Module symbian.log=symbian.log-module.html"><a title="configuration_model.Item.log |
|
790 symbian.log" class="py-name" href="#" onclick="return doclink('link-143', 'log', 'link-143');">log</a></tt> <tt class="py-keyword">in</tt> <tt class="py-name">t</tt><tt class="py-op">.</tt><tt id="link-144" class="py-name"><a title="configuration_model.Item.log |
|
791 symbian.log" class="py-name" href="#" onclick="return doclink('link-144', 'log', 'link-143');">log</a></tt><tt class="py-op">:</tt> </tt> |
|
792 <a name="L312"></a><tt class="py-lineno">312</tt> <tt class="py-line"> <tt class="py-name">logdir</tt> <tt class="py-op">=</tt> <tt class="py-string">'/output/logs/'</tt> </tt> |
|
793 <a name="L313"></a><tt class="py-lineno">313</tt> <tt class="py-line"> <tt class="py-name">logname</tt> <tt class="py-op">=</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt id="link-145" class="py-name"><a title="buildtools.Command.path |
|
794 sysdef.api.SpecialInstruction.path |
|
795 sysdef.api.Unit.path" class="py-name" href="#" onclick="return doclink('link-145', 'path', 'link-23');">path</a></tt><tt class="py-op">.</tt><tt class="py-name">basename</tt><tt class="py-op">(</tt><tt class="py-name">str</tt><tt class="py-op">(</tt><tt id="link-146" class="py-name"><a title="configuration_model.Item.log |
|
796 symbian.log" class="py-name" href="#" onclick="return doclink('link-146', 'log', 'link-143');">log</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
797 <a name="L314"></a><tt class="py-lineno">314</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-op">(</tt><tt class="py-string">'**'</tt> <tt class="py-keyword">in</tt> <tt class="py-name">logname</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
798 <a name="L315"></a><tt class="py-lineno">315</tt> <tt class="py-line"> <tt class="py-name">logname</tt> <tt class="py-op">=</tt> <tt class="py-name">logname</tt><tt class="py-op">.</tt><tt class="py-name">replace</tt><tt class="py-op">(</tt><tt class="py-string">'*'</tt><tt class="py-op">,</tt> <tt class="py-string">'${sysdef.configuration}'</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">replace</tt><tt class="py-op">(</tt><tt class="py-string">'--logfile='</tt><tt class="py-op">,</tt> <tt class="py-string">''</tt><tt class="py-op">)</tt> </tt> |
|
799 <a name="L316"></a><tt class="py-lineno">316</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">logdir</tt> <tt class="py-keyword">in</tt> <tt class="py-name">logname</tt><tt class="py-op">:</tt> </tt> |
|
800 <a name="L317"></a><tt class="py-lineno">317</tt> <tt class="py-line"> <tt class="py-name">logname</tt> <tt class="py-op">=</tt> <tt class="py-name">logdir</tt> <tt class="py-op">+</tt> <tt class="py-name">logname</tt> </tt> |
|
801 <a name="L318"></a><tt class="py-lineno">318</tt> <tt class="py-line"> <tt class="py-name">logname</tt> <tt class="py-op">=</tt> <tt class="py-name">logname</tt><tt class="py-op">.</tt><tt class="py-name">replace</tt><tt class="py-op">(</tt><tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">sep</tt><tt class="py-op">,</tt> <tt class="py-string">'/'</tt><tt class="py-op">)</tt> </tt> |
|
802 <a name="L319"></a><tt class="py-lineno">319</tt> <tt class="py-line"> </tt> |
|
803 <a name="L320"></a><tt class="py-lineno">320</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">macro</tt><tt class="py-op">:</tt> </tt> |
|
804 <a name="L321"></a><tt class="py-lineno">321</tt> <tt class="py-line"> <tt id="link-147" class="py-name"><a title="ccm.Result.output |
|
805 helium.output" class="py-name" href="#" onclick="return doclink('link-147', 'output', 'link-99');">output</a></tt><tt class="py-op">.</tt><tt id="link-148" class="py-name"><a title="ccm.Folder.append |
|
806 ccm.Task.append" class="py-name" href="#" onclick="return doclink('link-148', 'append', 'link-9');">append</a></tt><tt class="py-op">(</tt><tt class="py-string">"\"%s\" [fontname=\"Times-Italic\"];"</tt> <tt class="py-op">%</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">t</tt><tt class="py-op">.</tt><tt id="link-149" class="py-name"><a title="buildtools.Command.name |
|
807 ccm.FourPartName.name |
|
808 symrec.ServicePack.name |
|
809 sysdef.api.Configuration.name |
|
810 sysdef.api.Option.name |
|
811 sysdef.api.SpecialInstruction.name |
|
812 sysdef.api.Target.name |
|
813 sysdef.api.TargetList.name |
|
814 sysdef.api.Unit.name |
|
815 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-149', 'name', 'link-0');">name</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
816 <a name="L322"></a><tt class="py-lineno">322</tt> <tt class="py-line"> <tt id="link-150" class="py-name"><a title="ccm.Result.output |
|
817 helium.output" class="py-name" href="#" onclick="return doclink('link-150', 'output', 'link-99');">output</a></tt><tt class="py-op">.</tt><tt id="link-151" class="py-name"><a title="ccm.Folder.append |
|
818 ccm.Task.append" class="py-name" href="#" onclick="return doclink('link-151', 'append', 'link-9');">append</a></tt><tt class="py-op">(</tt><tt class="py-string">'subgraph \"cluster%s\" {label = \"%s\"; \"%s\"}\n'</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">p</tt><tt class="py-op">.</tt><tt id="link-152" class="py-name"><a title="buildtools.Command.name |
|
819 ccm.FourPartName.name |
|
820 symrec.ServicePack.name |
|
821 sysdef.api.Configuration.name |
|
822 sysdef.api.Option.name |
|
823 sysdef.api.SpecialInstruction.name |
|
824 sysdef.api.Target.name |
|
825 sysdef.api.TargetList.name |
|
826 sysdef.api.Unit.name |
|
827 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-152', 'name', 'link-0');">name</a></tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">p</tt><tt class="py-op">.</tt><tt id="link-153" class="py-name"><a title="buildtools.Command.name |
|
828 ccm.FourPartName.name |
|
829 symrec.ServicePack.name |
|
830 sysdef.api.Configuration.name |
|
831 sysdef.api.Option.name |
|
832 sysdef.api.SpecialInstruction.name |
|
833 sysdef.api.Target.name |
|
834 sysdef.api.TargetList.name |
|
835 sysdef.api.Unit.name |
|
836 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-153', 'name', 'link-0');">name</a></tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">t</tt><tt class="py-op">.</tt><tt id="link-154" class="py-name"><a title="buildtools.Command.name |
|
837 ccm.FourPartName.name |
|
838 symrec.ServicePack.name |
|
839 sysdef.api.Configuration.name |
|
840 sysdef.api.Option.name |
|
841 sysdef.api.SpecialInstruction.name |
|
842 sysdef.api.Target.name |
|
843 sysdef.api.TargetList.name |
|
844 sysdef.api.Unit.name |
|
845 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-154', 'name', 'link-0');">name</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
846 <a name="L323"></a><tt class="py-lineno">323</tt> <tt class="py-line"> <tt id="link-155" class="py-name"><a title="ccm.Result.output |
|
847 helium.output" class="py-name" href="#" onclick="return doclink('link-155', 'output', 'link-99');">output</a></tt><tt class="py-op">.</tt><tt id="link-156" class="py-name"><a title="ccm.Folder.append |
|
848 ccm.Task.append" class="py-name" href="#" onclick="return doclink('link-156', 'append', 'link-9');">append</a></tt><tt class="py-op">(</tt><tt class="py-string">'\"%s\" -> \"%s\"\n'</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">t</tt><tt class="py-op">.</tt><tt id="link-157" class="py-name"><a title="buildtools.Command.name |
|
849 ccm.FourPartName.name |
|
850 symrec.ServicePack.name |
|
851 sysdef.api.Configuration.name |
|
852 sysdef.api.Option.name |
|
853 sysdef.api.SpecialInstruction.name |
|
854 sysdef.api.Target.name |
|
855 sysdef.api.TargetList.name |
|
856 sysdef.api.Unit.name |
|
857 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-157', 'name', 'link-0');">name</a></tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-name">logname</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
858 </div><a name="L324"></a><tt class="py-lineno">324</tt> <tt class="py-line"> </tt> |
|
859 <a name="findLogFiles"></a><div id="findLogFiles-def"><a name="L325"></a><tt class="py-lineno">325</tt> <a class="py-toggle" href="#" id="findLogFiles-toggle" onclick="return toggle('findLogFiles');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="dependancygraph-module.html#findLogFiles">findLogFiles</a><tt class="py-op">(</tt><tt class="py-param">database</tt><tt class="py-op">,</tt> <tt class="py-param">output</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
860 </div><div id="findLogFiles-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="findLogFiles-expanded"><a name="L326"></a><tt class="py-lineno">326</tt> <tt class="py-line"> <tt class="py-name">out</tt> <tt class="py-op">=</tt> <tt class="py-name">open</tt><tt class="py-op">(</tt><tt id="link-158" class="py-name"><a title="ccm.Result.output |
|
861 helium.output" class="py-name" href="#" onclick="return doclink('link-158', 'output', 'link-99');">output</a></tt><tt class="py-op">,</tt> <tt class="py-string">'w'</tt><tt class="py-op">)</tt> </tt> |
|
862 <a name="L327"></a><tt class="py-lineno">327</tt> <tt class="py-line"> <tt class="py-name">db</tt> <tt class="py-op">=</tt> <tt class="py-name">amara</tt><tt class="py-op">.</tt><tt id="link-159" class="py-name"><a title="bsf.BSF.parse |
|
863 symbian.log.Parser.parse" class="py-name" href="#" onclick="return doclink('link-159', 'parse', 'link-11');">parse</a></tt><tt class="py-op">(</tt><tt class="py-name">Uri</tt><tt class="py-op">.</tt><tt class="py-name">OsPathToUri</tt><tt class="py-op">(</tt><tt id="link-160" class="py-name"><a title="ccm.AbstractSession.database" class="py-name" href="#" onclick="return doclink('link-160', 'database', 'link-121');">database</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
864 <a name="L328"></a><tt class="py-lineno">328</tt> <tt class="py-line"> <tt class="py-name">out</tt><tt class="py-op">.</tt><tt id="link-161" class="py-name"><a title="archive.builders.ArchivePreBuilder.write |
|
865 build.model.BOMDeltaXMLWriter.write |
|
866 build.model.BOMXMLWriter.write |
|
867 buildtools.AbstractOutputWriter.write |
|
868 buildtools.AntWriter.write |
|
869 buildtools.EBSWriter.write |
|
870 buildtools.MakeWriter.write |
|
871 buildtools.StringWriter.write |
|
872 flash_config.FlashConfigurationWriter.write |
|
873 helium.documentation.APIDeltaWriter.write |
|
874 sis.SisPreBuilder.write |
|
875 sysdef.io.FlashImageSizeWriter.write |
|
876 sysdef.io.MakeWriter.write |
|
877 sysdef.io.MakeWriter2.write |
|
878 sysdef.io.MakeWriter3.write |
|
879 version.Version.write" class="py-name" href="#" onclick="return doclink('link-161', 'write', 'link-122');">write</a></tt><tt class="py-op">(</tt><tt class="py-string">'digraph G {\n'</tt><tt class="py-op">)</tt> </tt> |
|
880 <a name="L329"></a><tt class="py-lineno">329</tt> <tt class="py-line"> <tt id="link-162" class="py-name"><a title="ccm.Result.output |
|
881 helium.output" class="py-name" href="#" onclick="return doclink('link-162', 'output', 'link-99');">output</a></tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt> |
|
882 <a name="L330"></a><tt class="py-lineno">330</tt> <tt class="py-line"> </tt> |
|
883 <a name="L331"></a><tt class="py-lineno">331</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">p</tt> <tt class="py-keyword">in</tt> <tt class="py-name">db</tt><tt class="py-op">.</tt><tt class="py-name">antDatabase</tt><tt class="py-op">.</tt><tt id="link-163" class="py-name"><a title="ccm.ProjectCheckoutResult.project" class="py-name" href="#" onclick="return doclink('link-163', 'project', 'link-123');">project</a></tt><tt class="py-op">:</tt> </tt> |
|
884 <a name="L332"></a><tt class="py-lineno">332</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">hasattr</tt><tt class="py-op">(</tt><tt class="py-name">p</tt><tt class="py-op">,</tt> <tt class="py-string">'macro'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
885 <a name="L333"></a><tt class="py-lineno">333</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">t</tt> <tt class="py-keyword">in</tt> <tt class="py-name">p</tt><tt class="py-op">.</tt><tt class="py-name">macro</tt><tt class="py-op">:</tt> </tt> |
|
886 <a name="L334"></a><tt class="py-lineno">334</tt> <tt class="py-line"> <tt id="link-164" class="py-name" targets="Function dependancygraph.appendLogs()=dependancygraph-module.html#appendLogs"><a title="dependancygraph.appendLogs" class="py-name" href="#" onclick="return doclink('link-164', 'appendLogs', 'link-164');">appendLogs</a></tt><tt class="py-op">(</tt><tt class="py-name">t</tt><tt class="py-op">,</tt> <tt class="py-name">p</tt><tt class="py-op">,</tt> <tt id="link-165" class="py-name"><a title="ccm.Result.output |
|
887 helium.output" class="py-name" href="#" onclick="return doclink('link-165', 'output', 'link-99');">output</a></tt><tt class="py-op">,</tt> <tt class="py-name">True</tt><tt class="py-op">)</tt> </tt> |
|
888 <a name="L335"></a><tt class="py-lineno">335</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">hasattr</tt><tt class="py-op">(</tt><tt class="py-name">p</tt><tt class="py-op">,</tt> <tt class="py-string">'target'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
889 <a name="L336"></a><tt class="py-lineno">336</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">t</tt> <tt class="py-keyword">in</tt> <tt class="py-name">p</tt><tt class="py-op">.</tt><tt class="py-name">target</tt><tt class="py-op">:</tt> </tt> |
|
890 <a name="L337"></a><tt class="py-lineno">337</tt> <tt class="py-line"> <tt id="link-166" class="py-name"><a title="dependancygraph.appendLogs" class="py-name" href="#" onclick="return doclink('link-166', 'appendLogs', 'link-164');">appendLogs</a></tt><tt class="py-op">(</tt><tt class="py-name">t</tt><tt class="py-op">,</tt> <tt class="py-name">p</tt><tt class="py-op">,</tt> <tt id="link-167" class="py-name"><a title="ccm.Result.output |
|
891 helium.output" class="py-name" href="#" onclick="return doclink('link-167', 'output', 'link-99');">output</a></tt><tt class="py-op">)</tt> </tt> |
|
892 <a name="L338"></a><tt class="py-lineno">338</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">l</tt> <tt class="py-keyword">in</tt> <tt class="py-name">set</tt><tt class="py-op">(</tt><tt id="link-168" class="py-name"><a title="ccm.Result.output |
|
893 helium.output" class="py-name" href="#" onclick="return doclink('link-168', 'output', 'link-99');">output</a></tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
894 <a name="L339"></a><tt class="py-lineno">339</tt> <tt class="py-line"> <tt class="py-name">out</tt><tt class="py-op">.</tt><tt id="link-169" class="py-name"><a title="archive.builders.ArchivePreBuilder.write |
|
895 build.model.BOMDeltaXMLWriter.write |
|
896 build.model.BOMXMLWriter.write |
|
897 buildtools.AbstractOutputWriter.write |
|
898 buildtools.AntWriter.write |
|
899 buildtools.EBSWriter.write |
|
900 buildtools.MakeWriter.write |
|
901 buildtools.StringWriter.write |
|
902 flash_config.FlashConfigurationWriter.write |
|
903 helium.documentation.APIDeltaWriter.write |
|
904 sis.SisPreBuilder.write |
|
905 sysdef.io.FlashImageSizeWriter.write |
|
906 sysdef.io.MakeWriter.write |
|
907 sysdef.io.MakeWriter2.write |
|
908 sysdef.io.MakeWriter3.write |
|
909 version.Version.write" class="py-name" href="#" onclick="return doclink('link-169', 'write', 'link-122');">write</a></tt><tt class="py-op">(</tt><tt class="py-name">l</tt><tt class="py-op">)</tt> </tt> |
|
910 <a name="L340"></a><tt class="py-lineno">340</tt> <tt class="py-line"> <tt class="py-name">out</tt><tt class="py-op">.</tt><tt id="link-170" class="py-name"><a title="archive.builders.ArchivePreBuilder.write |
|
911 build.model.BOMDeltaXMLWriter.write |
|
912 build.model.BOMXMLWriter.write |
|
913 buildtools.AbstractOutputWriter.write |
|
914 buildtools.AntWriter.write |
|
915 buildtools.EBSWriter.write |
|
916 buildtools.MakeWriter.write |
|
917 buildtools.StringWriter.write |
|
918 flash_config.FlashConfigurationWriter.write |
|
919 helium.documentation.APIDeltaWriter.write |
|
920 sis.SisPreBuilder.write |
|
921 sysdef.io.FlashImageSizeWriter.write |
|
922 sysdef.io.MakeWriter.write |
|
923 sysdef.io.MakeWriter2.write |
|
924 sysdef.io.MakeWriter3.write |
|
925 version.Version.write" class="py-name" href="#" onclick="return doclink('link-170', 'write', 'link-122');">write</a></tt><tt class="py-op">(</tt><tt class="py-string">'}'</tt><tt class="py-op">)</tt> </tt> |
|
926 <a name="L341"></a><tt class="py-lineno">341</tt> <tt class="py-line"> <tt class="py-name">out</tt><tt class="py-op">.</tt><tt id="link-171" class="py-name"><a title="build.model.BOM.close |
|
927 build.model.SessionCreator.close |
|
928 buildtools.AbstractOutputWriter.close |
|
929 ccm.AbstractSession.close |
|
930 ccm.Session.close |
|
931 ccm.SessionPool.close |
|
932 ccm.extra.CachedSessionProvider.close |
|
933 ccm.extra.SessionProvider.close |
|
934 log2xml.LogWriter.close |
|
935 preparation.PreparationBuilder.close |
|
936 sysdef.io.FlashImageSizeWriter.close" class="py-name" href="#" onclick="return doclink('link-171', 'close', 'link-52');">close</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> |
|
937 </div><a name="L342"></a><tt class="py-lineno">342</tt> <tt class="py-line"> </tt><script type="text/javascript"> |
|
938 <!-- |
|
939 expandto(location.href); |
|
940 // --> |
|
941 </script> |
|
942 </pre> |
|
943 <br /> |
|
944 <!-- ==================== NAVIGATION BAR ==================== --> |
|
945 <table class="navbar" border="0" width="100%" cellpadding="0" |
|
946 bgcolor="#a0c0ff" cellspacing="0"> |
|
947 <tr valign="middle"> |
|
948 |
|
949 <!-- Tree link --> |
|
950 <th> <a |
|
951 href="module-tree.html">Trees</a> </th> |
|
952 |
|
953 <!-- Index link --> |
|
954 <th> <a |
|
955 href="identifier-index.html">Indices</a> </th> |
|
956 |
|
957 <!-- Help link --> |
|
958 <th> <a |
|
959 href="help.html">Help</a> </th> |
|
960 |
|
961 <th class="navbar" width="100%"></th> |
|
962 </tr> |
|
963 </table> |
|
964 <table border="0" cellpadding="0" cellspacing="0" width="100%%"> |
|
965 <tr> |
|
966 <td align="left" class="footer"> |
|
967 Generated by Epydoc 3.0beta1 on Wed Sep 09 13:44:21 2009 |
|
968 </td> |
|
969 <td align="right" class="footer"> |
|
970 <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a> |
|
971 </td> |
|
972 </tr> |
|
973 </table> |
|
974 |
|
975 <script type="text/javascript"> |
|
976 <!-- |
|
977 // Private objects are initially displayed (because if |
|
978 // javascript is turned off then we want them to be |
|
979 // visible); but by default, we want to hide them. So hide |
|
980 // them unless we have a cookie that says to show them. |
|
981 checkCookie() |
|
982 // --> |
|
983 </script> |
|
984 |
|
985 </body> |
|
986 </html> |