summaryrefslogtreecommitdiff
path: root/src/leap/common/__init__.py
blob: 56199005e11c08a19de946ffd53523636a2481f9 (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

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"]

from ._version import get_versions
__version__ = get_versions()['version']
del get_versions