Skip to content

Commit

Permalink
fix: don't skip symlinks for rye provider
Browse files Browse the repository at this point in the history
Signed-off-by: Frost Ming <[email protected]>
  • Loading branch information
frostming committed Oct 16, 2024
1 parent 429d961 commit 10d52b2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/findpython/providers/rye.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ def find_pythons(self) -> t.Iterable[PythonVersion]:
if not self.root.exists():
return
for child in safe_iter_dir(self.root):
if child.is_symlink(): # registered an existing python
continue
for intermediate in ("", "install/"):
if WINDOWS:
python_bin = child / (intermediate + "python.exe")
Expand Down

0 comments on commit 10d52b2

Please sign in to comment.