5 <link rel="stylesheet" href="styles.css"> |
5 <link rel="stylesheet" href="styles.css"> |
6 </head> |
6 </head> |
7 <body> |
7 <body> |
8 <a NAME="top" ID="top"></a> |
8 <a NAME="top" ID="top"></a> |
9 <h1>eric7.Plugins.WizardPlugins.SetupWizard.SetupCfgUtilities</h1> |
9 <h1>eric7.Plugins.WizardPlugins.SetupWizard.SetupCfgUtilities</h1> |
10 |
|
11 <p> |
10 <p> |
12 Module implementing some utility functions for setup.cfg creation. |
11 Module implementing some utility functions for setup.cfg creation. |
13 </p> |
12 </p> |
|
13 |
14 <h3>Global Attributes</h3> |
14 <h3>Global Attributes</h3> |
15 |
|
16 <table> |
15 <table> |
17 <tr><td>None</td></tr> |
16 <tr><td>None</td></tr> |
18 </table> |
17 </table> |
|
18 |
19 <h3>Classes</h3> |
19 <h3>Classes</h3> |
20 |
|
21 <table> |
20 <table> |
22 <tr><td>None</td></tr> |
21 <tr><td>None</td></tr> |
23 </table> |
22 </table> |
|
23 |
24 <h3>Functions</h3> |
24 <h3>Functions</h3> |
25 |
|
26 <table> |
25 <table> |
27 |
|
28 <tr> |
26 <tr> |
29 <td><a href="#_bool2string">_bool2string</a></td> |
27 <td><a href="#_bool2string">_bool2string</a></td> |
30 <td>Function to convert a bool value to a setup.cfg string.</td> |
28 <td>Function to convert a bool value to a setup.cfg string.</td> |
31 </tr> |
29 </tr> |
32 <tr> |
30 <tr> |
44 <tr> |
42 <tr> |
45 <td><a href="#toString">toString</a></td> |
43 <td><a href="#toString">toString</a></td> |
46 <td>Function to convert a value to a setup.cfg string.</td> |
44 <td>Function to convert a value to a setup.cfg string.</td> |
47 </tr> |
45 </tr> |
48 </table> |
46 </table> |
|
47 |
49 <hr /> |
48 <hr /> |
50 <hr /> |
49 <hr /> |
51 <a NAME="_bool2string" ID="_bool2string"></a> |
50 <a NAME="_bool2string" ID="_bool2string"></a> |
52 <h2>_bool2string</h2> |
51 <h2>_bool2string</h2> |
53 <b>_bool2string</b>(<i>value</i>) |
52 <b>_bool2string</b>(<i>value</i>) |
54 |
|
55 <p> |
53 <p> |
56 Function to convert a bool value to a setup.cfg string. |
54 Function to convert a bool value to a setup.cfg string. |
57 </p> |
55 </p> |
|
56 |
58 <dl> |
57 <dl> |
59 |
58 |
60 <dt><i>value</i> (bool)</dt> |
59 <dt><i>value</i> (bool)</dt> |
61 <dd> |
60 <dd> |
62 bool value to be converted |
61 bool value to be converted |
78 <hr /> |
77 <hr /> |
79 <hr /> |
78 <hr /> |
80 <a NAME="_dict2list" ID="_dict2list"></a> |
79 <a NAME="_dict2list" ID="_dict2list"></a> |
81 <h2>_dict2list</h2> |
80 <h2>_dict2list</h2> |
82 <b>_dict2list</b>(<i>value</i>) |
81 <b>_dict2list</b>(<i>value</i>) |
83 |
|
84 <p> |
82 <p> |
85 Function to convert a dict value to a setup.cfg list string. |
83 Function to convert a dict value to a setup.cfg list string. |
86 </p> |
84 </p> |
|
85 |
87 <dl> |
86 <dl> |
88 |
87 |
89 <dt><i>value</i> (dict)</dt> |
88 <dt><i>value</i> (dict)</dt> |
90 <dd> |
89 <dd> |
91 dict value to be converted |
90 dict value to be converted |
107 <hr /> |
106 <hr /> |
108 <hr /> |
107 <hr /> |
109 <a NAME="_dict2string" ID="_dict2string"></a> |
108 <a NAME="_dict2string" ID="_dict2string"></a> |
110 <h2>_dict2string</h2> |
109 <h2>_dict2string</h2> |
111 <b>_dict2string</b>(<i>value</i>) |
110 <b>_dict2string</b>(<i>value</i>) |
112 |
|
113 <p> |
111 <p> |
114 Function to convert a dict value to a setup.cfg string. |
112 Function to convert a dict value to a setup.cfg string. |
115 </p> |
113 </p> |
|
114 |
116 <dl> |
115 <dl> |
117 |
116 |
118 <dt><i>value</i> (dict)</dt> |
117 <dt><i>value</i> (dict)</dt> |
119 <dd> |
118 <dd> |
120 dict value to be converted |
119 dict value to be converted |
136 <hr /> |
135 <hr /> |
137 <hr /> |
136 <hr /> |
138 <a NAME="_list2string" ID="_list2string"></a> |
137 <a NAME="_list2string" ID="_list2string"></a> |
139 <h2>_list2string</h2> |
138 <h2>_list2string</h2> |
140 <b>_list2string</b>(<i>value</i>) |
139 <b>_list2string</b>(<i>value</i>) |
141 |
|
142 <p> |
140 <p> |
143 Function to convert a list value to a setup.cfg string. |
141 Function to convert a list value to a setup.cfg string. |
144 </p> |
142 </p> |
|
143 |
145 <dl> |
144 <dl> |
146 |
145 |
147 <dt><i>value</i> (list)</dt> |
146 <dt><i>value</i> (list)</dt> |
148 <dd> |
147 <dd> |
149 list value to be converted |
148 list value to be converted |
165 <hr /> |
164 <hr /> |
166 <hr /> |
165 <hr /> |
167 <a NAME="toString" ID="toString"></a> |
166 <a NAME="toString" ID="toString"></a> |
168 <h2>toString</h2> |
167 <h2>toString</h2> |
169 <b>toString</b>(<i>value</i>) |
168 <b>toString</b>(<i>value</i>) |
170 |
|
171 <p> |
169 <p> |
172 Function to convert a value to a setup.cfg string. |
170 Function to convert a value to a setup.cfg string. |
173 </p> |
171 </p> |
|
172 |
174 <dl> |
173 <dl> |
175 |
174 |
176 <dt><i>value</i> (bool, list, set, tuple or dict)</dt> |
175 <dt><i>value</i> (bool, list, set, tuple or dict)</dt> |
177 <dd> |
176 <dd> |
178 value to be converted |
177 value to be converted |