linux-cultist / venv-selector.nvim

Allows selection of python virtual environment from within neovim
MIT License
379 stars 40 forks source link

[feature] Add support for pipx #72

Closed fschoenm closed 1 month ago

fschoenm commented 8 months ago

Could you please add support for pipx as additional package manager?

pipx stores its virtual environments at ~/.local/share/pipx/venvs/PACKAGE by default (see https://github.com/pypa/pipx/blob/ac647404902c46019c4cf2da46dc225c5404d986/docs/how-pipx-works.md), as far as I know on each platform.

linux-cultist commented 8 months ago

Sure, I can have a look at it.

It's interesting that there are so many package managers for python... :)

linux-cultist commented 8 months ago

Ive been having a bit of less time lately. Trying to get a drivers license and the gods are against me. But I think it wouldnt be hard to add this, so if someone else feels like doing it, i would welcome a PR of course.

linux-cultist commented 2 months ago

This should be very simple to do in the new version of the plugin I'm working on in the regexp branch. You can also add it yourself there if you write a fd command that will pick them up. It's still under heavy development but just wanted to let you know if you want to try it out.

linux-cultist commented 1 month ago

Pipx support has been added now to the regexp version of the plugin, and its ready for general use now. Try it out. :)