Skip to content

Commit

Permalink
restored execute args
Browse files Browse the repository at this point in the history
  • Loading branch information
soumyadeepm04 committed Jun 4, 2024
1 parent 8b52d42 commit 994b42d
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions scripts/eachdist.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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
Expand Down

0 comments on commit 994b42d

Please sign in to comment.