pkg_resources is now deprecated. This PR removes references to that module.
Refactored plugin.manifest module to factor the pip installed package discovery into a separate function. Made otiopluginfo and otioconvert use that function rather than doing their own plugin discovery.
Reference associated tests.
I did not add new tests, but I validated the output of otiopluginfo --version and otioconvert --version to validate they're nearly identical. The only difference is that the string Plugins from pkg_resources: is now Plugins from installed packages:.
Summarize your change.
pkg_resources
is now deprecated. This PR removes references to that module.Refactored
plugin.manifest
module to factor the pip installed package discovery into a separate function. Madeotiopluginfo
andotioconvert
use that function rather than doing their own plugin discovery.Reference associated tests.
I did not add new tests, but I validated the output of
otiopluginfo --version
andotioconvert --version
to validate they're nearly identical. The only difference is that the stringPlugins from pkg_resources:
is nowPlugins from installed packages:
.