Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ed039b8

Browse filesBrowse files
authored
gh-132930: Include IDLE path in registry for PyManager packages (GH-133246)
1 parent c73d460 commit ed039b8
Copy full SHA for ed039b8

File tree

Expand file treeCollapse file tree

1 file changed

+3
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-1
lines changed

‎PC/layout/support/pymanager.py

Copy file name to clipboardExpand all lines: PC/layout/support/pymanager.py
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ def calculate_install_json(ns, *, for_embed=False, for_test=False):
188188
],
189189
})
190190

191-
if TARGETW:
191+
if TARGETW and STD_PEP514:
192192
STD_PEP514[0]["InstallPath"]["WindowedExecutablePath"] = f"%PREFIX%{TARGETW}"
193193

194194
if ns.include_idle:
@@ -206,6 +206,8 @@ def calculate_install_json(ns, *, for_embed=False, for_test=False):
206206
"Icon": r"%PREFIX%Lib\idlelib\Icons\idle.ico",
207207
"IconIndex": 0,
208208
})
209+
if STD_PEP514:
210+
STD_PEP514[0]["InstallPath"]["IdlePath"] = f"%PREFIX%Lib\\idlelib\\idle.pyw"
209211

210212
if ns.include_html_doc:
211213
STD_PEP514[0]["Help"]["Main Python Documentation"] = {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.