File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed
Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -381,8 +381,8 @@ def create_installer(self):
381381 ('ARCH' , self .winpy_arch ),
382382 ('VERSION' , '%s.%d%s' % (self .python_fullversion ,
383383 self .build_number , self .flavor )),
384- ('VERSION_INSTALL' , '%s. %d' % (self .python_fullversion ,
385- self .build_number )),
384+ ('VERSION_INSTALL' , '%s%d' % (self .python_fullversion . replace (
385+ '.' , '' ), self .build_number )),
386386 ('RELEASELEVEL' , self .release_level ),)
387387 build_nsis ('installer.nsi' , fname , data )
388388 self ._print_done ()
Original file line number Diff line number Diff line change @@ -20,7 +20,10 @@ Licensed under the terms of the MIT License
2020; ================================================================
2121
2222!define ID " WinPython"
23- !define ID_INSTALL " WinPython"
23+ ; 2018-04-20 need to minimize path length of installation:
24+ ; !define ID_INSTALL "WinPython"
25+ !define ID_INSTALL " WPy"
26+
2427!define FILE_DESCRIPTION " ${ID} Installer"
2528!define COMPANY " ${ID}"
2629!define BRANDING " ${ID}, the portable Python Distribution for Scientists"
@@ -44,7 +47,10 @@ OutFile "${DISTDIR}\..\${ID}${ARCH}-${VERSION}${RELEASELEVEL}.exe"
4447; 2018-04-04 need to minimize path length of installation further: remove arch + flavor
4548; InstallDir "$EXEDIR\${ID_INSTALL}${ARCH}-${VERSION}${RELEASELEVEL}"
4649; InstallDir "$EXEDIR\${ID_INSTALL}-${VERSION_INSTALL}${RELEASELEVEL}"
47- InstallDir " $EXEDIR\${ID_INSTALL}"
50+ ; 2018-04-20 need to minimize path length of installation:
51+ ; InstallDir "$EXEDIR\${ID_INSTALL}"
52+ InstallDir " $EXEDIR\${ID_INSTALL}-${VERSION_INSTALL}${RELEASELEVEL}"
53+
4854BrandingText " ${BRANDING}"
4955XPStyle on
5056RequestExecutionLevel user
You can’t perform that action at this time.
0 commit comments