Skip to content

Commit fa88f71

Browse files
committed
v10.7 = remove NSIS installer (still keep icons creation option)
1 parent f0f50b8 commit fa88f71

File tree

4 files changed

+3
-138
lines changed

4 files changed

+3
-138
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Dependencies
3535
Requirements
3636
------------
3737

38-
* installer can be NSIS, 7-Zip, or nothing
38+
* installer can be 7-Zip or nothing (just .zip-it)
3939

4040

4141
Installation

make.py

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def get_7zip_exe():
7575
if Path(exe).is_file():
7676
return exe
7777
else:
78-
raise RuntimeError("NSIS is not installed on this computer.")
78+
raise RuntimeError("7ZIP is not installed on this computer.")
7979

8080

8181
def replace_in_nsis_file(fname, data):
@@ -564,27 +564,6 @@ def create_python_batch(
564564
+ " %*",
565565
)
566566

567-
def create_installer(self):
568-
"""Create installer with NSIS"""
569-
self._print("Creating WinPython installer")
570-
portable_dir = str(Path(__file__).resolve().parent / "portable")
571-
fname = str(Path(portable_dir) / "installer-tmp.nsi")
572-
data = (
573-
("DISTDIR", self.winpydir),
574-
("ARCH", self.winpy_arch),
575-
(
576-
"VERSION",
577-
f"{self.python_fullversion}.{self.build_number}{self.flavor}",
578-
),
579-
(
580-
"VERSION_INSTALL",
581-
f'{self.python_fullversion.replace(".", "")}' + f"{self.build_number}",
582-
),
583-
("RELEASELEVEL", self.release_level),
584-
)
585-
build_nsis("installer.nsi", fname, data)
586-
self._print_done()
587-
588567

589568
def create_installer_7zip(self, installer_option=""):
590569
"""Create installer with 7-ZIP"""
@@ -1899,8 +1878,6 @@ def make_all(
18991878
)
19001879
# ,find_links=osp.join(basedir, 'packages.srcreq'))
19011880
if str(create_installer).lower() != "false" and not simulation:
1902-
if "nsis" in str(create_installer).lower():
1903-
dist.create_installer() # NSIS installer (can't handle big build)
19041881
if "7zip" in str(create_installer).lower():
19051882
dist.create_installer_7zip(".exe") # 7-zip (no licence splash screen)
19061883
if ".7z" in str(create_installer).lower():

portable/installer.nsi

Lines changed: 0 additions & 112 deletions
This file was deleted.

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

0 commit comments

Comments
 (0)