diff options
author | Stéphane Bidoul <stephane.bidoul@gmail.com> | 2022-09-25 12:07:31 +0200 |
---|---|---|
committer | Stéphane Bidoul <stephane.bidoul@gmail.com> | 2022-09-25 12:15:23 +0200 |
commit | 77c83013dfe0caa10386369e340e39997f2d4c09 (patch) | |
tree | 10af0a181d749242bf24cd62dc74c5b9669f1d31 | |
parent | 51c78b4b83546d4b02cf7a13fb03c758d533893f (diff) | |
download | pip-77c83013dfe0caa10386369e340e39997f2d4c09.tar.gz |
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.
-rw-r--r-- | src/pip/_internal/commands/install.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pip/_internal/commands/install.py b/src/pip/_internal/commands/install.py index 1a36132b0..e081c27d2 100644 --- a/src/pip/_internal/commands/install.py +++ b/src/pip/_internal/commands/install.py @@ -452,7 +452,7 @@ class InstallCommand(RequirementCommand): wheel_cache=wheel_cache, verify=True, build_options=[], - global_options=[], + global_options=global_options, ) # If we're using PEP 517, we cannot do a legacy setup.py install |