Skip to content

Commit 42c3ccf

Browse files
committed
v10.6 = Inno Setup removed
1 parent 607f62f commit 42c3ccf

File tree

2 files changed

+1
-46
lines changed

2 files changed

+1
-46
lines changed

make.py

Lines changed: 0 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -99,27 +99,6 @@ def replace_in_nsis_file(fname, data):
9999
fd.close()
100100

101101

102-
def replace_in_iss_file(fname, data):
103-
"""Replace text in line starting with *start*, from this position:
104-
data is a list of (start, text) tuples"""
105-
fd = open(fname, "U")
106-
lines = fd.readlines()
107-
fd.close()
108-
for idx, line in enumerate(lines):
109-
for start, text in data:
110-
if start not in (
111-
"Icon",
112-
"OutFile",
113-
) and not start.startswith("!"):
114-
start = "#define " + start
115-
if line.startswith(start + " "):
116-
lines[idx] = line[: len(start) + 1] + f'"{text}"' + "\n"
117-
fd = open(fname, "w")
118-
fd.writelines(lines)
119-
print("Inno Setup for ", fname, "is", lines)
120-
fd.close()
121-
122-
123102
def replace_in_7zip_file(fname, data):
124103
"""Replace text in line starting with *start*, from this position:
125104
data is a list of (start, text) tuples"""
@@ -606,26 +585,6 @@ def create_installer(self):
606585
build_nsis("installer.nsi", fname, data)
607586
self._print_done()
608587

609-
def create_installer_inno(self):
610-
"""Create installer with INNO"""
611-
self._print("Creating WinPython installer INNO")
612-
portable_dir = str(Path(__file__).resolve().parent / "portable")
613-
fname = str(Path(portable_dir) / "installer_INNO-tmp.iss")
614-
data = (
615-
("DISTDIR", self.winpydir),
616-
("ARCH", self.winpy_arch),
617-
(
618-
"VERSION",
619-
f"{self.python_fullversion}.{self.build_number}{self.flavor}",
620-
),
621-
(
622-
"VERSION_INSTALL",
623-
f'{self.python_fullversion.replace(".", "")}' + f"{self.build_number}",
624-
),
625-
("RELEASELEVEL", self.release_level),
626-
)
627-
build_iss("installer_INNO.iss", fname, data)
628-
self._print_done()
629588

630589
def create_installer_7zip(self, installer_option=""):
631590
"""Create installer with 7-ZIP"""
@@ -1942,10 +1901,6 @@ def make_all(
19421901
if str(create_installer).lower() != "false" and not simulation:
19431902
if "nsis" in str(create_installer).lower():
19441903
dist.create_installer() # NSIS installer (can't handle big build)
1945-
if "inno" in str(create_installer).lower() or (
1946-
str(create_installer).lower() == "true"
1947-
):
1948-
dist.create_installer_inno() # INNO Setup 5 (not 7zip friendly)
19491904
if "7zip" in str(create_installer).lower():
19501905
dist.create_installer_7zip(".exe") # 7-zip (no licence splash screen)
19511906
if ".7z" in str(create_installer).lower():

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

0 commit comments

Comments
 (0)