Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add uv flag to python module #5954

Open
nazq opened this issue May 1, 2024 · 0 comments
Open

Add uv flag to python module #5954

nazq opened this issue May 1, 2024 · 0 comments
Labels
✨ enhancement A new feature implementation.

Comments

@nazq
Copy link

nazq commented May 1, 2024

Feature Request

uv is a great rust built pip replacement (https://github.com/astral-sh/uv). Would be great to add a variable to show if the env was created by uv

Is your feature request related to a problem? Please describe.

I have many different projects, some which are pip managed venvs, some which are uv managed. Would be great to see the difference

Describe the solution you'd like

I'd want to see an icon if this is a uv venv, Here's the one from the repo https://avatars.githubusercontent.com/u/115962839?s=48&v=4

Describe alternatives you've considered

[[ -z "$VIRTUAL_ENV" ]] && echo "unk" || grep -q '^uv =' "$VIRTUAL_ENV/pyvenv.cfg" && echo "uv" || echo "pip"

@nazq nazq added the ✨ enhancement A new feature implementation. label May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ enhancement A new feature implementation.
Projects
None yet
Development

No branches or pull requests

1 participant