]> granicus.if.org Git - python/commitdiff
Removes lingering references to RAR now that make_zip.py actually makes a ZIP
authorSteve Dower <steve.dower@microsoft.com>
Fri, 22 May 2015 23:22:27 +0000 (16:22 -0700)
committerSteve Dower <steve.dower@microsoft.com>
Fri, 22 May 2015 23:22:27 +0000 (16:22 -0700)
Tools/msi/make_zip.py

index fcfcd562e12983b1325e167c6a5fb0e369be69b9..f2e1c4ebe1187ccc37c7e58496bcb0446d555cd8 100644 (file)
@@ -113,17 +113,14 @@ def main():
     parser.add_argument('-t', '--temp', metavar='dir', help='A directory to temporarily extract files into', type=Path, default=None)
     parser.add_argument('-e', '--embed', help='Create an embedding layout', action='store_true', default=False)
     parser.add_argument('-a', '--arch', help='Specify the architecture to use (win32/amd64)', type=str, default="win32")
-    parser.add_argument('--rar', help='Full path to WinRAR compressor (rar.exe)', type=Path, default=Path("rar.exe"))
     ns = parser.parse_args()
 
     source = ns.source or (Path(__file__).parent.parent.parent)
     out = ns.out
     arch = ns.arch
-    rar = getattr(ns, 'rar')
     assert isinstance(source, Path)
     assert isinstance(out, Path)
     assert isinstance(arch, str)
-    assert isinstance(rar, Path)
 
     if ns.temp:
         temp = ns.temp