Is there a way to manage pip packages in .mise.toml? #4121
-
In my .mise.toml file, I can list tools like this to install specific versions of programming languages and utilities:
I want to know if it’s also possible to include Python pip packages, such as neovim-remote, in this file. My goal is to have mise install pip packages after setting up Python. Ideally, my .mise.toml file would look something like this:
Is this supported in mise? If so, how can I specify pip packages? If not, are there workarounds to achieve this functionality within the mise ecosystem? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I suggest you use uv |
Beta Was this translation helpful? Give feedback.
-
This is not something that mise supports at the moment. The closest I can think of is the I'm not sure if adding support for It is very opinionated though, and I'm in no way an authority here, so take it with a grain of salt ;) |
Beta Was this translation helpful? Give feedback.
This is not something that mise supports at the moment. The closest I can think of is the
pipx
backend.I'm not sure if adding support for
pip
(as opposed topipx
) is a great idea, as it, to me, appears to cross the line between managing developer tooling and manage code dependencies (I'll agree that those lines already somewhat overlaps). If it was supported, you'd risk people starting to usemise
as an alternative topip
orpoetry
for managing code dependencies, and that would be... not pretty?It is very opinionated though, and I'm in no way an authority here, so take it with a grain of salt ;)