mirror of
https://github.com/python/cpython.git
synced 2025-11-12 07:02:33 +00:00
Removes lingering references to RAR now that make_zip.py actually makes a ZIP
This commit is contained in:
parent
ad577b938b
commit
bd0d91e706
1 changed files with 0 additions and 3 deletions
|
|
@ -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('-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('-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('-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()
|
ns = parser.parse_args()
|
||||||
|
|
||||||
source = ns.source or (Path(__file__).parent.parent.parent)
|
source = ns.source or (Path(__file__).parent.parent.parent)
|
||||||
out = ns.out
|
out = ns.out
|
||||||
arch = ns.arch
|
arch = ns.arch
|
||||||
rar = getattr(ns, 'rar')
|
|
||||||
assert isinstance(source, Path)
|
assert isinstance(source, Path)
|
||||||
assert isinstance(out, Path)
|
assert isinstance(out, Path)
|
||||||
assert isinstance(arch, str)
|
assert isinstance(arch, str)
|
||||||
assert isinstance(rar, Path)
|
|
||||||
|
|
||||||
if ns.temp:
|
if ns.temp:
|
||||||
temp = ns.temp
|
temp = ns.temp
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue