Another question - do I need to install plugins in...
# getting-started
m
Another question - do I need to install plugins internally in the project? I’d like to use PDM to manage all my Python dependencies without using virtual environments (as this is what we do for our other Python projects). I have both
meltano
and
tap-github
on my
PYTHONPATH
but
meltano invoke
doesn’t find the latter. It’d be great if I could add a plugin as a regular python dependency and then “register” it with Meltano without having to copy it into the
.meltano
directory’s virtual environment.
or maybe the discover CLI command could get a
--local
flag?
e
Hi @Matt Menzenski!
do I need to install plugins internally in the project?
No, you don’t necessarily need to install packages with Meltano, if you make pip_url null and point to the binary of binary of interest in executable you can use any custom package manager:
Copy code
plugins:
  extractors:
  - name: my-tap
    pip_url: null
    executable: /path/to/a/pdm/managed/venv/bin/my-tap
I would still recommend using one venv for each plugin to avoid dependency conflicts, though.
or maybe the discover CLI command could get a
--local
flag?
That’d be interesting, though the
discover
command doesn’t do much at the moment other that display plugins available in the Hub
m
interesting, thank you. I’ll probably go back to following the documentation as written 😅 but I’ll continue to poke at this as I am able.