summaryrefslogtreecommitdiff
path: root/src/leap/keymanager/__init__.py
diff options
context:
space:
mode:
authorKali Kaneko <kali@futeisha.org>2013-08-23 12:17:20 +0200
committerKali Kaneko <kali@futeisha.org>2013-08-23 12:43:53 +0200
commita2d40aefb8ef2b0892ed87b38ddef96ddaf1dcc7 (patch)
tree4ba5d052fbee53703241bb5efee2a66f4d4578b3 /src/leap/keymanager/__init__.py
parent0347bf68d394118460566c8cd5cd49c75b0825f7 (diff)
Some packaging improvements
* versioneer all the things * add parse_requirements
Diffstat (limited to 'src/leap/keymanager/__init__.py')
-rw-r--r--src/leap/keymanager/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/leap/keymanager/__init__.py b/src/leap/keymanager/__init__.py
index 20e44fd5..05cbccaa 100644
--- a/src/leap/keymanager/__init__.py
+++ b/src/leap/keymanager/__init__.py
@@ -451,3 +451,7 @@ class KeyManager(object):
leap_assert(pubkey.__class__ in self._wrapper_map, 'Unknown key type.')
leap_assert(pubkey.private is False, 'Key is not public.')
return self._wrapper_map[pubkey.__class__].verify(data, pubkey)
+
+from ._version import get_versions
+__version__ = get_versions()['version']
+del get_versions