Skip to content

Commit b65973f

Browse files
committed
upgrade to a more comfortable sized shim of 240 characters
1 parent d7688e6 commit b65973f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

make.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -252,16 +252,16 @@ def updateExecutableIcon(executablePath, iconPath):
252252
win32api.EndUpdateResource(handle, False)
253253

254254

255-
def build_shimmy_launcher(launcher_name, command, icon_path):
255+
def build_shimmy_launcher(launcher_name, command, icon_path, mkshim_program='mkshim240.py'):
256256
"""Build .exe launcher with mkshim.py and pywin32"""
257257

258-
# define where is mkshim.py
259-
mkshim_program = str(Path(__file__).resolve().parent / "mkshim.py")
258+
# define where is mkshim
259+
mkshim_program = str(Path(__file__).resolve().parent / mkshim_program)
260260
python_program = utils.get_python_executable()
261261

262-
# Create the executable using mkshim.py
262+
# Create the executable using mkshim.py or mkshim240.py
263263
mkshim_command = f'{python_program} "{mkshim_program}" -f "{launcher_name}" -c "{command}"'
264-
print("Building .exe launcher with mkshim.py:", mkshim_command)
264+
print(f"Building .exe launcher with {mkshim_program}:", mkshim_command)
265265
subprocess.run(mkshim_command, shell=True)
266266

267267
# Embed the icon with pywin32, if provided

winpython/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@
2828
OTHER DEALINGS IN THE SOFTWARE.
2929
"""
3030

31-
__version__ = '10.1.20240824'
31+
__version__ = '10.2.20240825'
3232
__license__ = __doc__
3333
__project_url__ = 'http://winpython.github.io/'

0 commit comments

Comments
 (0)