diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2013-08-01 16:31:06 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2013-08-01 16:31:06 (GMT) |
commit | 5284f80268ea58f426d2cd1ebca02b702d16cca5 (patch) | |
tree | 03e706438a8aaf6df9f4a6d354080dc195a58a9e /Tools | |
parent | 85a4847f075340196ce5458fc74a304fe810d80f (diff) | |
download | cpython-5284f80268ea58f426d2cd1ebca02b702d16cca5.zip cpython-5284f80268ea58f426d2cd1ebca02b702d16cca5.tar.gz cpython-5284f80268ea58f426d2cd1ebca02b702d16cca5.tar.bz2 |
Issue #18569: The installer now adds .py to the PATHEXT variable
when extensions are registered. Patch by Paul Moore.
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/msi/msi.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Tools/msi/msi.py b/Tools/msi/msi.py index 8d088ff..3e3cef1 100644 --- a/Tools/msi/msi.py +++ b/Tools/msi/msi.py @@ -1270,6 +1270,10 @@ def add_registry(db): "{60254CA5-953B-11CF-8C96-00AA00B8708C}", "REGISTRY.def"), ]) + # PATHEXT + add_data(db, "Environment", + [("PathExtAddition", "=-*PathExt", "[~];.PY", "REGISTRY.def")]) + # Registry keys prefix = r"Software\%sPython\PythonCore\%s" % (testprefix, short_version) add_data(db, "Registry", |