Skip to content

Commit

Permalink
Relax PyPy compatibility location warning
Browse files Browse the repository at this point in the history
  • Loading branch information
uranusjr committed Apr 25, 2021
1 parent 75ba96c commit 47c9404
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pip/_internal/locations/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ def get_scheme(
and home is not None
and k in ("platlib", "purelib")
and old_v.parent == new_v.parent
and old_v.name == "python"
and new_v.name == "pypy"
and old_v.name.startswith("python")
and new_v.name.startswith("pypy")
)
if skip_pypy_special_case:
continue
Expand Down

0 comments on commit 47c9404

Please sign in to comment.