installer: Add Python 3.15

This commit is contained in:
rdb 2025-12-01 10:05:44 +01:00
parent 227a9e3406
commit 2ecbd54640
1 changed files with 12 additions and 0 deletions

View File

@ -428,6 +428,7 @@ SectionGroup "Python modules" SecGroupPython
!insertmacro PyBindingSection 3.12-32 .cp312-win32.pyd
!insertmacro PyBindingSection 3.13-32 .cp313-win32.pyd
!insertmacro PyBindingSection 3.14-32 .cp314-win32.pyd
!insertmacro PyBindingSection 3.15-32 .cp315-win32.pyd
!else
!insertmacro PyBindingSection 3.5 .cp35-win_amd64.pyd
!insertmacro PyBindingSection 3.6 .cp36-win_amd64.pyd
@ -439,6 +440,7 @@ SectionGroup "Python modules" SecGroupPython
!insertmacro PyBindingSection 3.12 .cp312-win_amd64.pyd
!insertmacro PyBindingSection 3.13 .cp313-win_amd64.pyd
!insertmacro PyBindingSection 3.14 .cp314-win_amd64.pyd
!insertmacro PyBindingSection 3.15 .cp315-win_amd64.pyd
!endif
SectionGroupEnd
@ -552,6 +554,7 @@ Function .onInit
!insertmacro MaybeEnablePyBindingSection 3.12-32
!insertmacro MaybeEnablePyBindingSection 3.13-32
!insertmacro MaybeEnablePyBindingSection 3.14-32
!insertmacro MaybeEnablePyBindingSection 3.15-32
${EndIf}
!else
!insertmacro MaybeEnablePyBindingSection 3.5
@ -565,6 +568,7 @@ Function .onInit
!insertmacro MaybeEnablePyBindingSection 3.12
!insertmacro MaybeEnablePyBindingSection 3.13
!insertmacro MaybeEnablePyBindingSection 3.14
!insertmacro MaybeEnablePyBindingSection 3.15
${EndIf}
!endif
@ -594,6 +598,10 @@ Function .onInit
SectionSetFlags ${SecPyBindings3.14} ${SF_RO}
SectionSetInstTypes ${SecPyBindings3.14} 0
!endif
!ifdef SecPyBindings3.15
SectionSetFlags ${SecPyBindings3.15} ${SF_RO}
SectionSetInstTypes ${SecPyBindings3.15} 0
!endif
${EndUnless}
FunctionEnd
@ -909,6 +917,7 @@ Section Uninstall
!insertmacro RemovePythonPath 3.12-32
!insertmacro RemovePythonPath 3.13-32
!insertmacro RemovePythonPath 3.14-32
!insertmacro RemovePythonPath 3.15-32
!else
!insertmacro RemovePythonPath 3.5
!insertmacro RemovePythonPath 3.6
@ -920,6 +929,7 @@ Section Uninstall
!insertmacro RemovePythonPath 3.12
!insertmacro RemovePythonPath 3.13
!insertmacro RemovePythonPath 3.14
!insertmacro RemovePythonPath 3.15
!endif
SetDetailsPrint both
@ -999,6 +1009,7 @@ SectionEnd
!insertmacro MUI_DESCRIPTION_TEXT ${SecPyBindings3.12-32} $(DESC_SecPyBindings3.12-32)
!insertmacro MUI_DESCRIPTION_TEXT ${SecPyBindings3.13-32} $(DESC_SecPyBindings3.13-32)
!insertmacro MUI_DESCRIPTION_TEXT ${SecPyBindings3.14-32} $(DESC_SecPyBindings3.14-32)
!insertmacro MUI_DESCRIPTION_TEXT ${SecPyBindings3.15-32} $(DESC_SecPyBindings3.15-32)
!else
!insertmacro MUI_DESCRIPTION_TEXT ${SecPyBindings3.5} $(DESC_SecPyBindings3.5)
!insertmacro MUI_DESCRIPTION_TEXT ${SecPyBindings3.6} $(DESC_SecPyBindings3.6)
@ -1010,6 +1021,7 @@ SectionEnd
!insertmacro MUI_DESCRIPTION_TEXT ${SecPyBindings3.12} $(DESC_SecPyBindings3.12)
!insertmacro MUI_DESCRIPTION_TEXT ${SecPyBindings3.13} $(DESC_SecPyBindings3.13)
!insertmacro MUI_DESCRIPTION_TEXT ${SecPyBindings3.14} $(DESC_SecPyBindings3.14)
!insertmacro MUI_DESCRIPTION_TEXT ${SecPyBindings3.15} $(DESC_SecPyBindings3.15)
!endif
!ifdef INCLUDE_PYVER
!insertmacro MUI_DESCRIPTION_TEXT ${SecPython} $(DESC_SecPython)