Skip to content

Commit 6e59b69

Browse files
committed
Simplify make_setuptools_egg_info_args
1 parent 74a28d5 commit 6e59b69

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/pip/_internal/utils/setuptools_build.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,9 @@ def make_setuptools_egg_info_args(
121121
no_user_config, # type: bool
122122
):
123123
# type: (...) -> List[str]
124-
args = make_setuptools_shim_args(setup_py_path)
125-
if no_user_config:
126-
args += ["--no-user-cfg"]
124+
args = make_setuptools_shim_args(
125+
setup_py_path, no_user_config=no_user_config
126+
)
127127

128128
args += ["egg_info"]
129129

0 commit comments

Comments
 (0)