8000 instal directory is WPy-version · zhangqrl/winpython@b9ca4ce · GitHub
[go: up one dir, main page]

Skip to content

Commit b9ca4ce

Browse files
author
stonebig
committed
instal directory is WPy-version
1 parent e2f60db commit b9ca4ce

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

make.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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()

portable/installer.nsi

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff 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+
4854
BrandingText "${BRANDING}"
4955
XPStyle on
5056
RequestExecutionLevel user

0 commit comments

Comments
 (0)
0