Skip to content

Conversation

@dwhswenson
Copy link
Member

This new approach will include two different ways to create OPS plugins. The key difference is in how plugins are discovered:

  1. "File plugins": This is the same functionality that has already been implemented: search specific directories for files that can be used as plugins.
  2. "Namespace package plugins": This approach is basically described in https://packaging.python.org/guides/creating-and-discovering-plugins/#using-namespace-packages. We'll expect native namespace packages.

"File plugins" are suitable as a quick-and-dirty approach for yourself or for small-scale sharing. "Namespace package plugins" take a little more work, but are more suitable to be widely distributed.

This PR will include support and testing for both plugin types.

@dwhswenson dwhswenson changed the title [WIP] Update plugin management approach Update plugin management approach May 14, 2020
@dwhswenson dwhswenson merged commit 58520df into openpathsampling:master May 14, 2020
@dwhswenson dwhswenson deleted the namespace_plugins branch May 14, 2020 14:41
@dwhswenson dwhswenson added the enhancement New feature or request label May 14, 2020
This was referenced Sep 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant