Closed FinchPowers closed 7 years ago
Major path bug found. Will fix.
My feeling is that this would be much cleaner if we simply added a "require" function for the dependencies, that was called when loading. For example, in the main plugin script we would write
mldb.require('tensorflow')
which would then load up the given plugin if it wasn't already loaded. It keeps it declarative, and allows us to avoid having huge lists of hardcoded dependencies which brings in the kitchen sink every time.
In the redesign of the Python plugin system, we could do something similar: eg mldb.pythonRequires('pippackagename >0.34')
If someone has any ideas on how to test this, I'm opened to suggestions.