Skip to content

Commit 2ffc709

Browse files
committed
Run nox -s generate
1 parent 9a7363b commit 2ffc709

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

public/get-pip.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,13 @@ def determine_pip_install_arguments():
6969
pre_parser.add_argument("--no-wheel", action="store_true")
7070
pre, args = pre_parser.parse_known_args()
7171

72-
args += ["pip"]
73-
args += ["setuptools"] * include_setuptools(pre)
74-
args += ["wheel"] * include_wheel(pre)
72+
args.append("pip")
73+
74+
if include_setuptools(pre):
75+
args.append("setuptools")
76+
77+
if include_wheel(pre):
78+
args.append("wheel")
7579

7680
return ["install", "--upgrade", "--force-reinstall"] + args
7781

0 commit comments

Comments
 (0)