Question about trying to install custom plugins. W...
# plugins-general
m
Question about trying to install custom plugins. What does Meltano look for when determining package dependencies? I had a developer that created a tap that works locally using python
poetry
for package management, but I can't get it to install on Meltano due to package dependencies. I see that all singer taps have a
setup.py
file with all of their dependencies, so is that what Meltano is looking for?
d
@michael_cooper Meltano install plugins by running
pip install <pip_url>
, so the URL needs to point at a pip-installable package, which typically requires a
setup.py
file to be used by `setuptools`: https://packaging.python.org/tutorials/packaging-projects/#creating-setup-py
m
Thank you!
Does this mean if I'm pointing the
pip_url
to a remote repo that isn't a pip package already, that it needs to have the
setup.py
?
d
It needs to be a pip package either way, whether it's already in the pypi index or not 🙂
So yes, it needs a
setup.py
whether you're pointing at a repo URL or just using a plain package name
Otherwise
pip install
will not have the required metadata, which includes the list of dependencies
m
Great, thank you very much!