mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Issue #23491: Implement PEP 441: Improving Python Zip Application Support
Thanks to Paul Moore for the PEP and implementation.
This commit is contained in:
parent
ff2a661ef0
commit
cc4dfc1b75
7 changed files with 720 additions and 4 deletions
|
@ -5,4 +5,6 @@
|
|||
<String Id="PythonFileDescription">Python File</String>
|
||||
<String Id="PythonNoConFileDescription">Python File (no console)</String>
|
||||
<String Id="PythonCompiledFileDescription">Compiled Python File</String>
|
||||
<String Id="PythonArchiveFileDescription">Python Zip Application File</String>
|
||||
<String Id="PythonNoConArchiveFileDescription">Python Zip Application File (no console)</String>
|
||||
</WixLocalization>
|
||||
|
|
|
@ -26,6 +26,20 @@
|
|||
<Extension Id="$(var.FileExtension)o" />
|
||||
</ProgId>
|
||||
<RegistryValue Root="HKCR" Key="$(var.TestPrefix)Python.CompiledFile\shellex\DropHandler" Value="{60254CA5-953B-11CF-8C96-00AA00B8708C}" Type="string" />
|
||||
|
||||
<ProgId Id="$(var.TestPrefix)Python.ArchiveFile" Description="!(loc.PythonArchiveFileDescription)" Advertise="no" Icon="py.exe" IconIndex="1">
|
||||
<Extension Id="$(var.ArchiveFileExtension)" ContentType="application/x-zip-compressed">
|
||||
<Verb Id="open" TargetFile="py.exe" Argument=""%L" %*" />
|
||||
</Extension>
|
||||
</ProgId>
|
||||
<RegistryValue Root="HKCR" Key="$(var.TestPrefix)Python.ArchiveFile\shellex\DropHandler" Value="{60254CA5-953B-11CF-8C96-00AA00B8708C}" Type="string" />
|
||||
|
||||
<ProgId Id="$(var.TestPrefix)Python.NoConArchiveFile" Description="!(loc.PythonNoConArchiveFileDescription)" Advertise="no" Icon="py.exe" IconIndex="1">
|
||||
<Extension Id="$(var.ArchiveFileExtension)w" ContentType="application/x-zip-compressed">
|
||||
<Verb Id="open" TargetFile="pyw.exe" Argument=""%L" %*" />
|
||||
</Extension>
|
||||
</ProgId>
|
||||
<RegistryValue Root="HKCR" Key="$(var.TestPrefix)Python.NoConArchiveFile\shellex\DropHandler" Value="{60254CA5-953B-11CF-8C96-00AA00B8708C}" Type="string" />
|
||||
</Component>
|
||||
</ComponentGroup>
|
||||
</Fragment>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue