(original) (raw)

changeset: 84949:2a38e4da6ce8 user: Martin v. Löwis martin@v.loewis.de date: Thu Aug 01 18:31:06 2013 +0200 files: Misc/NEWS Tools/msi/msi.py description: Issue #18569: The installer now adds .py to the PATHEXT variable when extensions are registered. Patch by Paul Moore. diff -r 2c875178a8a2 -r 2a38e4da6ce8 Misc/NEWS --- a/Misc/NEWS Thu Aug 01 17:34:42 2013 +0200 +++ b/Misc/NEWS Thu Aug 01 18:31:06 2013 +0200 @@ -734,6 +734,12 @@ - Issue #17532: Always include Options menu for IDLE on OS X. Patch by Guilherme Simões. +Windows +------- + +- Issue #18569: The installer now adds .py to the PATHEXT variable when extensions + are registered. Patch by Paul Moore. + Build ----- diff -r 2c875178a8a2 -r 2a38e4da6ce8 Tools/msi/msi.py --- a/Tools/msi/msi.py Thu Aug 01 17:34:42 2013 +0200 +++ b/Tools/msi/msi.py Thu Aug 01 18:31:06 2013 +0200 @@ -1270,6 +1270,10 @@ "{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", /martin@v.loewis.de