From 994b42d6ae23be866f7b3eacc2133dd9bcdfe3a7 Mon Sep 17 00:00:00 2001 From: soumyadeepm04 Date: Tue, 4 Jun 2024 11:40:30 -0400 Subject: [PATCH] restored execute args --- scripts/eachdist.py | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/scripts/eachdist.py b/scripts/eachdist.py index 9d4311f9d1a..6ad55900f1f 100755 --- a/scripts/eachdist.py +++ b/scripts/eachdist.py @@ -464,6 +464,21 @@ def install_args(args): check=True, ) + + allfmt = "-e 'file://{}'" if args.editable else "'file://{}'" + + execute_args( + parse_subargs( + args, + ( + "exec", + "python -m pip install {} " + join_args(args.pipargs), + "--all", + allfmt, + ), + ) + ) + if args.with_dev_deps: rootpath = find_projectroot() runsubprocess( @@ -481,20 +496,6 @@ def install_args(args): check=True, ) - allfmt = "-e 'file://{}'" if args.editable else "'file://{}'" - - execute_args( - parse_subargs( - args, - ( - "exec", - "python -m pip install {} " + join_args(args.pipargs), - "--all", - allfmt, - ), - ) - ) - def parse_subargs(parentargs, args): subargs = parse_args(args) subargs.dry_run = parentargs.dry_run or subargs.dry_run