Skip to content

Commit

Permalink
Issue python#18569: The installer now adds .py to the PATHEXT variable
Browse files Browse the repository at this point in the history
when extensions are registered. Patch by Paul Moore.
  • Loading branch information
loewis committed Aug 1, 2013
1 parent 85a4847 commit 5284f80
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Misc/NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -734,6 +734,12 @@ IDLE
- 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
-----

Expand Down
4 changes: 4 additions & 0 deletions Tools/msi/msi.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 5284f80

Please sign in to comment.