1
0
Эх сурвалжийг харах

Remove templates no longer needed.

Thomas Kluyver 7 жил өмнө
parent
commit
d953936e62

+ 0 - 38
nsist/pyapp_installpy.nsi

@@ -1,38 +0,0 @@
-[% extends "pyapp.nsi" %]
-
-[% block ui_pages %]
-[# We only need to add COMPONENTS, but they have to be in order #]
-!insertmacro MUI_PAGE_WELCOME
-!insertmacro MUI_PAGE_COMPONENTS
-!insertmacro MUI_PAGE_DIRECTORY
-!insertmacro MUI_PAGE_INSTFILES
-!insertmacro MUI_PAGE_FINISH
-[% endblock ui_pages %]
-
-[% block sections %]
-Section "Python ${PY_VERSION}" sec_py
-
-  DetailPrint "Installing Python ${PY_MAJOR_VERSION}, ${BITNESS} bit"
-  [% if ib.py_version_tuple >= (3, 5) %]
-    [% set filename = 'python-' ~ ib.py_version ~ ('-amd64' if ib.py_bitness==64 else '') ~ '.exe' %]
-    File "[[filename]]"
-    ExecWait '"$INSTDIR\[[filename]]" /passive Include_test=0 InstallAllUsers=1'
-  [% else %]
-    [% set filename = 'python-' ~ ib.py_version ~ ('.amd64' if ib.py_bitness==64 else '') ~ '.msi' %]
-    File "[[filename]]"
-    ExecWait 'msiexec /i "$INSTDIR\[[filename]]" \
-            /qb ALLUSERS=1 TARGETDIR="$COMMONFILES${BITNESS}\Python\${PY_MAJOR_VERSION}"'
-  [% endif %]
-  Delete "$INSTDIR\[[filename]]"
-SectionEnd
-
-[[ super() ]]
-[% endblock sections %]
-
-[% block mouseover_messages %]
-    StrCmp $0 ${sec_py} 0 +2
-      SendMessage $R0 ${WM_SETTEXT} 0 "STR:The Python interpreter. \
-            This is required for ${PRODUCT_NAME} to run."
-
-[[ super() ]]
-[% endblock mouseover_messages %]

+ 0 - 25
nsist/pyapp_w_pylauncher.nsi

@@ -1,25 +0,0 @@
-[% extends "pyapp_installpy.nsi" %]
-[# For Python 2, add the py/pyw Windows launcher. Python 3 includes it already. #]
-
-[% block sections %]
-Section "PyLauncher" sec_pylauncher
-    ; Check for the existence of the pyw command, skip installing if it exists
-    nsExec::Exec 'where pyw'
-    Pop $0
-    IntCmp $0 0 SkipPylauncher
-    ; Extract the py/pyw launcher msi and run it.
-    File "launchwin${ARCH_TAG}.msi"
-    ExecWait 'msiexec /i "$INSTDIR\launchwin${ARCH_TAG}.msi" /qb ALLUSERS=1'
-    Delete "$INSTDIR\launchwin${ARCH_TAG}.msi"
-    SkipPylauncher:
-SectionEnd
-
-[[ super() ]]
-[% endblock %]
-
-[% block mouseover_messages %]
-[[ super() ]]
-    StrCmp $0 ${sec_app} "" +2
-      SendMessage $R0 ${WM_SETTEXT} 0 "STR:The Python launcher. \
-          This is required for ${PRODUCT_NAME} to run."
-[% endblock %]