Skip to content

Commit b8124fb

Browse files
committed
update py2exe
1 parent a5315ba commit b8124fb

3 files changed

Lines changed: 34 additions & 7 deletions

File tree

‎requirements.txt‎

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,7 @@ Pillow==10.0.1 -C "zlib=disable" -C "jpeg=disable"
1414
fast_diff_match_patch==2.0.1
1515

1616
# Packaging NVDA
17-
py2exe==0.13.0.0
18-
# py2exe fails to compile properly without this.
19-
# This can be removed when upgrading py2exe to the next release.
20-
# https://github.com/Ousret/charset_normalizer/issues/253
21-
# https://github.com/py2exe/py2exe/commit/7b34f06486fbc07500e323796d3f3d5fb862aee3
22-
charset-normalizer==2.1.1
17+
git+https://github.com/py2exe/py2exe@4e7b2b2c60face592e67cb1bc935172a20fa371d#egg=py2exe
2318

2419
# Creating XML unit test reports
2520
unittest-xml-reporting==3.2.0

‎source/setup.py‎

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,12 +106,28 @@ def _genManifestTemplate(shouldHaveUIAccess: bool) -> tuple[int, int, bytes]:
106106
"dest_base": "nvda_noUIAccess",
107107
"icon_resources": [(1, "images/nvda.ico")],
108108
"other_resources": [_genManifestTemplate(shouldHaveUIAccess=False)],
109+
"version_info": {
110+
"version": formatBuildVersionString(),
111+
"description": "NVDA application (no UIAccess)",
112+
"product_name": name,
113+
"product_version": version,
114+
"copyright": NVDAcopyright,
115+
"company_name": publisher,
116+
}
109117
},
110118
# The nvda_uiAccess target will be added at runtime if required.
111119
{
112120
"script": "nvda_slave.pyw",
113121
"icon_resources": [(1, "images/nvda.ico")],
114122
"other_resources": [_genManifestTemplate(shouldHaveUIAccess=False)],
123+
"version_info": {
124+
"version": formatBuildVersionString(),
125+
"description": description,
126+
"product_name": name,
127+
"product_version": version,
128+
"copyright": NVDAcopyright,
129+
"company_name": publisher,
130+
}
115131
},
116132
]
117133
if _partialArgs.uiAccess:
@@ -120,6 +136,14 @@ def _genManifestTemplate(shouldHaveUIAccess: bool) -> tuple[int, int, bytes]:
120136
"dest_base": "nvda_uiAccess",
121137
"icon_resources": [(1, "images/nvda.ico")],
122138
"other_resources": [_genManifestTemplate(shouldHaveUIAccess=True)],
139+
"version_info": {
140+
"version": formatBuildVersionString(),
141+
"description": "NVDA application (has UIAccess)",
142+
"product_name": name,
143+
"product_version": version,
144+
"copyright": NVDAcopyright,
145+
"company_name": publisher,
146+
}
123147
})
124148

125149

@@ -139,6 +163,14 @@ def _genManifestTemplate(shouldHaveUIAccess: bool) -> tuple[int, int, bytes]:
139163
"uiAccess": False,
140164
"icon_resources": [(1, "images/nvda.ico")],
141165
"other_resources": [],
166+
"version_info": {
167+
"version": formatBuildVersionString(),
168+
"description": "NVDA Diff-match-patch proxy",
169+
"product_name": name,
170+
"product_version": version,
171+
"copyright": f"{NVDAcopyright}, Bill Dengler",
172+
"company_name": f"Bill Dengler, {publisher}",
173+
},
142174
},
143175
],
144176
options={

‎user_docs/en/changes.t2t‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Please open a GitHub issue if your Add-on has an issue with updating to the new
4747
- configobj to 5.1.0dev commit e2ba4457. (#15544)
4848
- Comtypes to 1.2.0. (#15513)
4949
- fast_diff_match_patch to 2.0.1. (#15514)
50-
- py2exe to 0.13.0.0. (#15544)
50+
- py2exe to 0.13.0.1dev commit 4e7b2b2c60face592e67cb1bc935172a20fa371d. (#15544)
5151
- robotframework to 6.1.1. (#15544)
5252
- SCons to 4.5.2. (#15529)
5353
- sphinx to 7.2.6. (#15544)

0 commit comments

Comments
 (0)