Add PyPy finder (#5337)

## Summary

This PR adds PyPy finder and adds PyPy to uv managed Python versions.

## Test Plan

```console
$ cargo run -- python install
```
This commit is contained in:
Jo 2024-07-24 03:58:04 +08:00 committed by GitHub
parent 96b24345eb
commit 7ddf67a72b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 2948 additions and 23 deletions

View file

@ -35,6 +35,8 @@ def prepare_name(name: str) -> str:
match name:
case "cpython":
return "CPython"
case "pypy":
return "PyPy"
case _:
raise ValueError(f"Unknown implementation name: {name}")