Skip to content

Display path separators consistently in uv tool list on Windows #10426

@richieadler

Description

@richieadler

In Windows, currently paths are shown with backslashes for the tool directory but with forward slashes for the executable path itself:

> tool list --show-paths
bump-pydantic v0.8.0 (C:\Users\mhuerta\AppData\Roaming\uv\data\tools\bump-pydantic)
- bump-pydantic.exe (C:/Users/mhuerta/.local/bin/bump-pydantic.exe)
cookiecutter v2.6.0 (C:\Users\mhuerta\AppData\Roaming\uv\data\tools\cookiecutter)
- cookiecutter.exe (C:/Users/mhuerta/.local/bin/cookiecutter.exe)

Ideally all paths in Windows should appear with backslashes.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcompatibilityCompatibility with a specification or another tool

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions