summaryrefslogtreecommitdiff
path: root/buildstream/__init__.py
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-01-05 17:26:26 -0500
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-01-07 15:35:14 -0500
commit404c5b599fabc22ec2bf80f1a2fafbcf8f66429e (patch)
tree49c1f7d63fa0a5849240880e5e9595835b691dc6 /buildstream/__init__.py
parent0b5d26ac9d9b2d4cba9bf4f119ad4bfd732e9e34 (diff)
downloadbuildstream-404c5b599fabc22ec2bf80f1a2fafbcf8f66429e.tar.gz
plugin.py: Added new Plugin base class.
This just shares some common aspects of being a plugin in buildstream, allowing some code sharing between Element and Source interfaces. This class also swallows up the utils node handling utilities.
Diffstat (limited to 'buildstream/__init__.py')
-rw-r--r--buildstream/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/buildstream/__init__.py b/buildstream/__init__.py
index b2a0ae4b1..c6f0cd5ed 100644
--- a/buildstream/__init__.py
+++ b/buildstream/__init__.py
@@ -23,6 +23,7 @@ from .exceptions import PluginError, LoadError, LoadErrorReason, \
SourceError, ElementError, ImplError, ProgramNotFoundError
# Plugin auther facing APIs
+from .plugin import Plugin
from .source import Source
from .element import Element, Scope
from .buildelement import BuildElement