Skip to content

Commit

Permalink
Update src/pip/_internal/locations/_sysconfig.py
Browse files Browse the repository at this point in the history
  • Loading branch information
uranusjr authored Aug 1, 2021
1 parent f02313d commit d9bf6e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pip/_internal/locations/_sysconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def _should_use_osx_framework_prefix(prefix: typing.Optional[str]) -> bool:
virtual environment, or for ``pip install --prefix``.
"""
return (
prefix is not None
prefix is None
and "osx_framework_library" in _AVAILABLE_SCHEMES
and not running_under_virtualenv()
and is_osx_framework()
Expand Down

0 comments on commit d9bf6e1

Please sign in to comment.