summaryrefslogtreecommitdiff
path: root/buildstream/__init__.py
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2016-11-07 20:28:52 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2016-11-08 18:17:47 +0900
commit297fdf7e05a5fb606066ce71ea13bc27e93c9277 (patch)
treeedbfc4cb7d020a36e88e90e88bf3da159bef97a8 /buildstream/__init__.py
parenta77219b5a2b409bc01dafa81e47549f1de422524 (diff)
downloadbuildstream-297fdf7e05a5fb606066ce71ea13bc27e93c9277.tar.gz
Adding base Element & Source classes.
These currently have no API defined yet, but provide factory objects for managing plugins of their respective Source and Element implementations and instantiating Sources and Elements on demand.
Diffstat (limited to 'buildstream/__init__.py')
-rw-r--r--buildstream/__init__.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/buildstream/__init__.py b/buildstream/__init__.py
index e69de29bb..c6a707bff 100644
--- a/buildstream/__init__.py
+++ b/buildstream/__init__.py
@@ -0,0 +1,22 @@
+#!/usr/bin/env python3
+#
+# Copyright (C) 2016 Codethink Limited
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library. If not, see <http://www.gnu.org/licenses/>.
+#
+# Authors:
+# Tristan Van Berkom <tristan.vanberkom@codethink.co.uk>
+
+from buildstream.source import Source
+from buildstream.element import Element