summaryrefslogtreecommitdiffstats
path: root/pykolab/setup/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'pykolab/setup/__init__.py')
-rw-r--r--pykolab/setup/__init__.py31
1 files changed, 31 insertions, 0 deletions
diff --git a/pykolab/setup/__init__.py b/pykolab/setup/__init__.py
new file mode 100644
index 0000000..73859fb
--- /dev/null
+++ b/pykolab/setup/__init__.py
@@ -0,0 +1,31 @@
+# -*- coding: utf-8 -*-
+#
+# Copyright 2010 Kolab Systems AG (http://www.kolabsys.com)
+#
+# Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen a kolabsys.com>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; version 2 only
+#
+# This program 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 Library General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#
+
+from pykolab import constants
+
+__all__ = [
+ ]
+
+for component in constants.COMPONENTS:
+ try:
+ exec("from %s_setup import setup as %s_setup" % (component,component))
+ __all__.append("%s_setup" % component)
+ except:
+ pass