From 0d82c220872338ec7062fa52a54a48413fefcbf1 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 18 Dec 2021 16:11:54 +0530 Subject: [PATCH] ... --- setup/installers.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup/installers.py b/setup/installers.py index 28058a73f6..3d4f16233d 100644 --- a/setup/installers.py +++ b/setup/installers.py @@ -25,7 +25,7 @@ def get_exe(): return 'python3' if sys.version_info.major == 2 else sys.executable -def get_cmd(exe, bypy, which, bitness, sign_installers, notarize=True, compression_level='9', action='program'): +def get_cmd(exe, bypy, which, bitness, sign_installers=False, notarize=True, compression_level='9', action='program'): cmd = [exe, bypy, which] if bitness and bitness != '64': cmd += ['--arch', bitness] @@ -61,7 +61,7 @@ def build_only(which, bitness, spec, shutdown=False): dist = get_dist(base, which, bitness) dist = os.path.join(dist, 'c-extensions') if shutdown: - cmd = get_cmd(action='shutdown') + cmd = get_cmd(exe, bypy, which, bitness, action='shutdown') subprocess.Popen(cmd).wait() return dist @@ -86,7 +86,7 @@ def build_single(which='windows', bitness='64', shutdown=True, sign_installers=T pass os.link(src, dest) if shutdown: - cmd = get_cmd(action='shutdown') + cmd = get_cmd(exe, bypy, which, bitness, action='shutdown') subprocess.Popen(cmd).wait()