[Plugins] Support runtime pip dependency installation #803
abhinavsingh
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is your feature request related to a problem? Please describe.
proxy.py
core is written with no dependencies. But plugins can have external dependencies.proxy.py
core must support dynamic pip package installation for plugin dependencies.Describe the solution you'd like
This can be done by exposing an optional hook for plugins via which they can return list of pip packages they require. On startup, core can ensure dependencies have been installed/exists before proceeding with initialization.
Additional context
cloudflare_dns
plugin currently require external dependency. See https://github.com/abhinavsingh/proxy.py/blob/develop/proxy/plugin/cloudflare_dns.pyssh
core require external dependencyWhile this might not be necessary for the core, but plugins can be ad-hoc shared, downloaded, initialized in the environment and should be able to run without any manual setup steps.
Beta Was this translation helpful? Give feedback.
All reactions