https://github.com/python/cpython/commit/ed039b801d66736f22508c71b258b8ace0c15ef4 commit: ed039b801d66736f22508c71b258b8ace0c15ef4 branch: main author: Steve Dower <steve.do...@python.org> committer: zooba <steve.do...@microsoft.com> date: 2025-05-01T14:41:17+01:00 summary:
gh-132930: Include IDLE path in registry for PyManager packages (GH-133246) files: M PC/layout/support/pymanager.py diff --git a/PC/layout/support/pymanager.py b/PC/layout/support/pymanager.py index 3e70284a2be1e4..667c89cdd2cc7a 100644 --- a/PC/layout/support/pymanager.py +++ b/PC/layout/support/pymanager.py @@ -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: @@ -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"] = { _______________________________________________ Python-checkins mailing list -- python-checkins@python.org To unsubscribe send an email to python-checkins-le...@python.org https://mail.python.org/mailman3/lists/python-checkins.python.org/ Member address: arch...@mail-archive.com