218 </p> |
218 </p> |
219 <div align="right"><a href="#top">Up</a></div> |
219 <div align="right"><a href="#top">Up</a></div> |
220 <hr /><hr /> |
220 <hr /><hr /> |
221 <a NAME="createPyWrapper" ID="createPyWrapper"></a> |
221 <a NAME="createPyWrapper" ID="createPyWrapper"></a> |
222 <h2>createPyWrapper</h2> |
222 <h2>createPyWrapper</h2> |
223 <b>createPyWrapper</b>(<i>pydir, wfile</i>) |
223 <b>createPyWrapper</b>(<i>pydir, wfile, isGuiScript = True</i>) |
224 <p> |
224 <p> |
225 Create an executable wrapper for a Python script. |
225 Create an executable wrapper for a Python script. |
226 </p><dl> |
226 </p><dl> |
227 <dt><i>pydir</i></dt> |
227 <dt><i>pydir</i></dt> |
228 <dd> |
228 <dd> |
229 the name of the directory where the Python script will eventually |
229 the name of the directory where the Python script will |
230 be installed |
230 eventually be installed |
231 </dd><dt><i>wfile</i></dt> |
231 </dd><dt><i>wfile</i></dt> |
232 <dd> |
232 <dd> |
233 the basename of the wrapper |
233 the basename of the wrapper |
|
234 </dd><dt><i>isGuiScript</i></dt> |
|
235 <dd> |
|
236 flag indicating a wrapper script for a GUI |
|
237 application (boolean) |
234 </dd> |
238 </dd> |
235 </dl><dl> |
239 </dl><dl> |
236 <dt>Returns:</dt> |
240 <dt>Returns:</dt> |
237 <dd> |
241 <dd> |
238 the platform specific name of the wrapper |
242 the platform specific name of the wrapper |