diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2008-11-07 18:54:47 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2008-11-07 18:54:47 (GMT) |
commit | 49ae612f740fcfbc45bbc0300931387a9843ed51 (patch) | |
tree | ceab59e8898231e246ae982af86db2eb987b1c3a /Tools | |
parent | f7eec7c4ca3af64fdb9cdd1fd4d7605161933eb9 (diff) | |
download | cpython-49ae612f740fcfbc45bbc0300931387a9843ed51.zip cpython-49ae612f740fcfbc45bbc0300931387a9843ed51.tar.gz cpython-49ae612f740fcfbc45bbc0300931387a9843ed51.tar.bz2 |
Merged revisions 67149 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r67149 | martin.v.loewis | 2008-11-07 19:51:50 +0100 (Fr, 07 Nov 2008) | 1 line
Issue #1656675: Register a drop handler for .py* files on Windows.
........
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/msi/msi.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Tools/msi/msi.py b/Tools/msi/msi.py index 0614cc2..9e20938 100644 --- a/Tools/msi/msi.py +++ b/Tools/msi/msi.py @@ -1181,6 +1181,7 @@ def add_registry(db): ewi = "Edit with IDLE" pat2 = r"Software\Classes\%sPython.%sFile\DefaultIcon" pat3 = r"Software\Classes\%sPython.%sFile" + pat4 = r"Software\Classes\%sPython.%sFile\shellex\DropHandler" tcl_verbs = [] if have_tcl: tcl_verbs=[ @@ -1228,6 +1229,13 @@ def add_registry(db): "Python File (no console)", "REGISTRY.def"), ("pyc.txt", -1, pat3 % (testprefix, "Compiled"), "", "Compiled Python File", "REGISTRY.def"), + # Drop Handler + ("py.drop", -1, pat4 % (testprefix, ""), "", + "{60254CA5-953B-11CF-8C96-00AA00B8708C}", "REGISTRY.def"), + ("pyw.drop", -1, pat4 % (testprefix, "NoCon"), "", + "{60254CA5-953B-11CF-8C96-00AA00B8708C}", "REGISTRY.def"), + ("pyc.drop", -1, pat4 % (testprefix, "Compiled"), "", + "{60254CA5-953B-11CF-8C96-00AA00B8708C}", "REGISTRY.def"), ]) # Registry keys |