[feat] refactor events to use ZMQ
[leap_pycommon.git] / src / leap / common / __init__.py
1 import logging
2
3 from leap.common import certs
4 from leap.common import check
5 from leap.common import files
6 from leap.common import events
7
8 logger = logging.getLogger(__name__)
9
10 try:
11     import pygeoip
12     HAS_GEOIP = True
13 except ImportError:
14     #logger.debug('PyGeoIP not found. Disabled Geo support.')
15     HAS_GEOIP = False
16
17 __all__ = ["certs", "check", "files", "events"]
18
19 from ._version import get_versions
20 __version__ = get_versions()['version']
21 del get_versions