From 03fe928e3f61f9bcf37ab3574358d241b164ef02 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 17 Oct 2022 09:55:09 +0530 Subject: [PATCH] show progress while compressing release tarballs --- bypy/linux/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bypy/linux/__main__.py b/bypy/linux/__main__.py index 889777293..52bc7783c 100644 --- a/bypy/linux/__main__.py +++ b/bypy/linux/__main__.py @@ -220,7 +220,7 @@ def create_tarfile(env, compression_level='9'): print('Compressing archive...') ans = f'{dist.rpartition(".")[0]}.txz' start_time = time.time() - subprocess.check_call(['xz', '--threads=0', '-f', f'-{compression_level}', dist]) + subprocess.check_call(['xz', '--verbose', '--threads=0', '-f', f'-{compression_level}', dist]) secs = time.time() - start_time print('Compressed in {} minutes {} seconds'.format(secs // 60, secs % 60)) os.rename(f'{dist}.xz', ans)