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):
381
381
('ARCH' , self .winpy_arch ),
382
382
('VERSION' , '%s.%d%s' % (self .python_fullversion ,
383
383
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 )),
386
386
('RELEASELEVEL' , self .release_level ),)
387
387
build_nsis ('installer.nsi' , fname , data )
388
388
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
20
20
; ================================================================
21
21
22
22
!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
+
24
27
!define FILE_DESCRIPTION " ${ID} Installer"
25
28
!define COMPANY " ${ID}"
26
29
!define BRANDING " ${ID}, the portable Python Distribution for Scientists"
@@ -44,7 +47,10 @@ OutFile "${DISTDIR}\..\${ID}${ARCH}-${VERSION}${RELEASELEVEL}.exe"
44
47
; 2018-04-04 need to minimize path length of installation further: remove arch + flavor
45
48
; InstallDir "$EXEDIR\${ID_INSTALL}${ARCH}-${VERSION}${RELEASELEVEL}"
46
49
; 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
+
48
54
BrandingText " ${BRANDING}"
49
55
XPStyle on
50
56
RequestExecutionLevel user
You can’t perform that action at this time.
0 commit comments