diff options
author | kali <kali@leap.se> | 2013-03-14 07:08:31 +0900 |
---|---|---|
committer | kali <kali@leap.se> | 2013-03-15 01:02:11 +0900 |
commit | d0dfad6ac2af360de6421ce74a6831b5b81ad019 (patch) | |
tree | a0a79d4fb328e09ab85f53d826d65f5d7f874f0c /src/leap/util/__init__.py | |
parent | b76461efe13d24950cb389735432024c26e1e768 (diff) |
namespace leap + leap.common split
leap is a namespace package from here on.
common folder will be deleted and moved to leap_pycommon repository.
Diffstat (limited to 'src/leap/util/__init__.py')
-rw-r--r-- | src/leap/util/__init__.py | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/leap/util/__init__.py b/src/leap/util/__init__.py index e69de29b..a4e49ae5 100644 --- a/src/leap/util/__init__.py +++ b/src/leap/util/__init__.py @@ -0,0 +1,29 @@ +""" +LEAP Encryption Access Project +website: U{https://leap.se/} +""" + +__version__ = "unknown" +try: + from leap._version import get_versions + __version__ = get_versions()['version'] + del get_versions +except ImportError: + #running on a tree that has not run + #the setup.py setver + pass + +__appname__ = "unknown" +try: + from leap._appname import __appname__ +except ImportError: + #running on a tree that has not run + #the setup.py setver + pass + +__full_version__ = __appname__ + '/' + str(__version__) + +# try: +# from leap._branding import BRANDING as __branding +# except ImportError: +# __branding = {} |