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