summaryrefslogtreecommitdiff
path: root/src/leap/common/__init__.py
blob: 383e198e0e98057365962abb84e77b38e2f9769f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import logging

from leap.common import certs
from leap.common import check
from leap.common import files
from leap.common import events
from ._version import get_versions

logger = logging.getLogger(__name__)

try:
    import pygeoip
    HAS_GEOIP = True
except ImportError:
    # logger.debug('PyGeoIP not found. Disabled Geo support.')
    HAS_GEOIP = False

__all__ = ["certs", "check", "files", "events"]

__version__ = get_versions()['version']
del get_versions