Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion PC/layout/support/pymanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def calculate_install_json(ns, *, for_embed=False, for_test=False):
],
})

if TARGETW:
if TARGETW and STD_PEP514:
STD_PEP514[0]["InstallPath"]["WindowedExecutablePath"] = f"%PREFIX%{TARGETW}"

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

if ns.include_html_doc:
STD_PEP514[0]["Help"]["Main Python Documentation"] = {
Expand Down
Loading