Skip to content

Commit

Permalink
removed refereces from test packages from eachdist
Browse files Browse the repository at this point in the history
  • Loading branch information
soumyadeepm04 committed Jun 3, 2024
1 parent 4febd33 commit e2f2df4
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions scripts/eachdist.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,6 @@ def setup_instparser(instparser):
editable=True,
with_dev_deps=True,
eager_upgrades=True,
with_test_deps=True,
)

lintparser = subparsers.add_parser(
Expand Down Expand Up @@ -466,28 +465,6 @@ def install_args(args):
check=True,
)

allfmt = "-e 'file://{}" if args.editable else "'file://{}"
# packages should provide an extra_requires that is named
# 'test', to denote test dependencies.
extras = []
if args.with_test_deps:
extras.append("test")
if extras:
allfmt += f"[{','.join(extras)}]"
# note the trailing single quote, to close the quote opened above.
allfmt += "'"

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 Down

0 comments on commit e2f2df4

Please sign in to comment.