add and update pynsist template comments (#8759)

This commit is contained in:
Brad Warren 2021-04-02 10:37:40 -07:00 committed by GitHub
parent 8a84c88fee
commit 28fac893f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 2 deletions

View file

@ -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]]"

View file

@ -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={