Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 41169d3

Browse files
author
stonebig
committed
remove architecture and flavor from install directory
1 parent 64c3ffc commit 41169d3

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

make.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -381,6 +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)),
384386
('RELEASELEVEL', self.release_level),)
385387
build_nsis('installer.nsi', fname, data)
386388
self._print_done()

portable/installer.nsi

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ Licensed under the terms of the MIT License
1414
!define DISTDIR "D:\Pierre\maketest\winpython-2.7.3.amd64"
1515
!define ARCH "16bit"
1616
!define VERSION "2.7.3.0"
17+
; 2018-04-04 need to minimize path length of installation further: remove flavor in install path
18+
!define VERSION_INSTALL "2.7.3.0"
1719
!define RELEASELEVEL "beta2" ; empty means final release
1820
;================================================================
1921

@@ -39,7 +41,9 @@ OutFile "${DISTDIR}\..\${ID}${ARCH}-${VERSION}${RELEASELEVEL}.exe"
3941

4042
; 2018-03-31 need to minimize path length of installation:
4143
;InstallDir "$EXEDIR\${ID}${ARCH}-${VERSION}${RELEASELEVEL}"
42-
InstallDir "$EXEDIR\${ID_INSTALL}${ARCH}-${VERSION}${RELEASELEVEL}"
44+
; 2018-04-04 need to minimize path length of installation further: remove arch + flavor
45+
;InstallDir "$EXEDIR\${ID_INSTALL}${ARCH}-${VERSION}${RELEASELEVEL}"
46+
InstallDir "$EXEDIR\${ID_INSTALL}-${VERSION_INSTALL}${RELEASELEVEL}"
4347
BrandingText "${BRANDING}"
4448
XPStyle on
4549
RequestExecutionLevel user

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__ = '1.9.20180331'
31+
__version__ = '1.10.20180404'
3232
__license__ = __doc__
3333
__project_url__ = 'http://winpython.github.io/'

0 commit comments

Comments
 (0)