Skip to content

Commit 77c8301

Browse files
committed
Pass global_options when building for install
Before 'build' was never called in presence of install_option/global_option/build_option. Now that it can build in such cases, pass these options as well, for consistency with the wheel command.
1 parent 51c78b4 commit 77c8301

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pip/_internal/commands/install.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ def run(self, options: Values, args: List[str]) -> int:
452452
wheel_cache=wheel_cache,
453453
verify=True,
454454
build_options=[],
455-
global_options=[],
455+
global_options=global_options,
456456
)
457457

458458
# If we're using PEP 517, we cannot do a legacy setup.py install

0 commit comments

Comments
 (0)