156 Create an executable wrapper for a Python script. |
156 Create an executable wrapper for a Python script. |
157 |
157 |
158 @param pydir the name of the directory where the Python script will |
158 @param pydir the name of the directory where the Python script will |
159 eventually be installed |
159 eventually be installed |
160 @param wfile the basename of the wrapper |
160 @param wfile the basename of the wrapper |
|
161 @param isGuiScript flag indicating a wrapper script for a GUI |
|
162 application (boolean) |
161 @return the platform specific name of the wrapper |
163 @return the platform specific name of the wrapper |
162 """ |
164 """ |
163 # all kinds of Windows systems |
165 # all kinds of Windows systems |
164 if sys.platform.startswith("win"): |
166 if sys.platform.startswith("win"): |
165 wname = wfile + ".bat" |
167 wname = wfile + ".bat" |