Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Warren <bmw@users.noreply.github.com>2021-04-02 20:37:40 +0300
committerGitHub <noreply@github.com>2021-04-02 20:37:40 +0300
commit28fac893f4929e9a49f23291c42f74b1aef5665c (patch)
tree0861f0105823dedcc4c957b85de25abeb320eba1 /windows-installer
parent8a84c88fee4cecec14e63658e283a3e6834a2864 (diff)
add and update pynsist template comments (#8759)
Diffstat (limited to 'windows-installer')
-rw-r--r--windows-installer/assets/template.nsi4
-rw-r--r--windows-installer/setup.py6
2 files changed, 8 insertions, 2 deletions
diff --git a/windows-installer/assets/template.nsi b/windows-installer/assets/template.nsi
index 64bceb065..566e1b004 100644
--- a/windows-installer/assets/template.nsi
+++ b/windows-installer/assets/template.nsi
@@ -1,7 +1,7 @@
-; This NSIS template is based on the built-in one in pynsist 2.6.
+; This NSIS template is based on the built-in one in pynsist 2.7.
; Added lines are enclosed within "CERTBOT CUSTOM BEGIN/END" comments.
; If pynsist is upgraded, this template must be updated if necessary using the new built-in one.
-; Original file can be found here: https://github.com/takluyver/pynsist/blob/2.6/nsist/pyapp.nsi
+; Original file can be found here: https://github.com/takluyver/pynsist/blob/2.7/nsist/pyapp.nsi
!define PRODUCT_NAME "[[ib.appname]]"
!define PRODUCT_VERSION "[[ib.version]]"
diff --git a/windows-installer/setup.py b/windows-installer/setup.py
index 01d75a99b..d5b4d2bde 100644
--- a/windows-installer/setup.py
+++ b/windows-installer/setup.py
@@ -29,6 +29,12 @@ setup(
packages=find_packages(),
include_package_data=True,
install_requires=[
+ # pynsist is pinned to an exact version so we can update
+ # assets/template.nsi as needed. The file is based on the default
+ # pynsist NSIS template and pynsist's documentation warns that custom
+ # templates may need to be updated for them to work with new versions
+ # of pynsist. See
+ # https://pynsist.readthedocs.io/en/latest/cfgfile.html#build-section.
'pynsist==2.7'
],
entry_points={