diff --git a/pyproject_buildrequires.py b/pyproject_buildrequires.py index b635c1e..943f6d3 100644 --- a/pyproject_buildrequires.py +++ b/pyproject_buildrequires.py @@ -235,6 +235,8 @@ def main(argv): ) args = parser.parse_args(argv) + if args.toxenv: + args.runtime = True if args.extras and not args.runtime: print_err('-x (--extras) are only useful with -r (--runtime)') exit(1)