Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Update plugin management approach#19

Merged
dwhswenson merged 7 commits into
openpathsampling:masteropenpathsampling/openpathsampling-cli:masterfrom
dwhswenson:namespace_pluginsdwhswenson/openpathsampling-cli:namespace_pluginsCopy head branch name to clipboard
May 14, 2020
Merged

Update plugin management approach#19
dwhswenson merged 7 commits into
openpathsampling:masteropenpathsampling/openpathsampling-cli:masterfrom
dwhswenson:namespace_pluginsdwhswenson/openpathsampling-cli:namespace_pluginsCopy head branch name to clipboard

Conversation

@dwhswenson

Copy link
Copy Markdown
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.