summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/leap/__init__.py29
1 files changed, 8 insertions, 21 deletions
diff --git a/src/leap/__init__.py b/src/leap/__init__.py
index 8846fbc..8b30f3d 100644
--- a/src/leap/__init__.py
+++ b/src/leap/__init__.py
@@ -1,25 +1,12 @@
# -*- encoding: utf-8 -*-
+"""
+leap/__init__.py
+----------------
+Module intialization file for leap.
+"""
-__all__ = ['mx']
-__author__ = version.authors
-__version__ = version.getVersion()
-
-from leap import mx
-from leap.mx import util
from leap.mx.util import version
-
-def _print_authors_nicely():
- if hasattr(version, 'authors'):
- assert isinstance(version.authors, list)
- if len(version.authors) > 0:
- first = version.authors.pop()
- __author__ = (" ".join(first[:2]))
- if len(version.authors) > 0:
- for auth in version.authors:
- joined = " ".join(auth[:2])
- __author__ += ("\n%s" % joined)
-
-
-print "Version: %s" % version.getVersion()
-print "Authors: %s" % _print_authors_nicely()
+__all__ = ['mx']
+__author__ = version.getAuthors()
+__version__ = version.getVersion()