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.
@@ -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
