From 2ecbd546404202383453fad99c8e31474b6abf6c Mon Sep 17 00:00:00 2001 From: rdb Date: Mon, 1 Dec 2025 10:05:44 +0100 Subject: [PATCH] installer: Add Python 3.15 --- makepanda/installer.nsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/makepanda/installer.nsi b/makepanda/installer.nsi index b31ad3cd55..1a5f57a2bb 100644 --- a/makepanda/installer.nsi +++ b/makepanda/installer.nsi @@ -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)